home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 9 / Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO / 014a / orph154b.zip / MANUAL1.DOC < prev    next >
Text File  |  1993-05-07  |  163KB  |  3,541 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                                     ORPHEUS
  9.  
  10.  
  11.  
  12.                          An Integrated Authoring System
  13.  
  14.                              For Hypertext Writers
  15.  
  16.  
  17.  
  18.                                 - User's Guide -
  19.  
  20.                                    * Part I *
  21.  
  22.  
  23.  
  24.                         Copyright 1993 Hyperion Softword
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.     Orpheus is two programs:  the Orpheus Author (OH.EXE), a program for
  32.     creating electronic books and online documentation; and the Orpheus
  33.     Reader (OHREAD.EXE), a program for end-users, to be distributed with such
  34.     works in their compiled form.
  35.  
  36.     Orpheus makes you a master of hypertext; it gives you the freedom to
  37.     explore the multiple dimensions of your subject while bringing them
  38.     within easy access of your readers; it gives you the flexibility to
  39.     experiment, to revise and restructure at will; it gives you the power to
  40.     compose spontaneously in an electronic galaxy, then to release the worlds
  41.     you have created so that others may experience them.
  42.  
  43.     Orpheus is SHAREWARE.  This means that you are welcome to evaluate the
  44.     authoring program for up to 30 days.  If you wish to use the system after
  45.     that period you must pay the registration fee of $49.  For more
  46.     information see Chapter 7, or print and fill out the REGISTER.DOC file
  47.     and send it with your payment to:
  48.  
  49.                                Hyperion Softword
  50.                                535 Duvernay
  51.                                Sherbrooke, QC
  52.                                Canada J1L 1Y8
  53.  
  54.                                819-566-6296 (voice)
  55.  
  56.  
  57.  
  58.  
  59.                                        1
  60.  
  61.  
  62.  
  63.  
  64.     ACKNOWLEDGEMENTS:
  65.  
  66.     Special thanks to:
  67.        - Daniel Coulombe, SYSOP of Synapse BBS, the official Home of Orpheus!
  68.          (See the README file for phone numbers.)
  69.        - Lynn Hildre of Alaska EPAC, for her dedication to excellence and
  70.          unerring ability to find bugs in the woodwork.
  71.  
  72.     Orpheus Author uses the SPAWNO routines by Ralf Brown to minimize memory
  73.     use while shelling to DOS and running other programs.
  74.  
  75.  
  76.  
  77.     CONVENTIONS FOLLOWED IN THIS MANUAL:
  78.  
  79.     Keystrokes are indicated by <> brackets; for example, <F1> means press and
  80.     release the F1 key, <H> means press and release the "h" key.  Combination
  81.     keystrokes are hyphenated; for example, <Alt-F> means press and hold down
  82.     the Alt key, then press the "f" key, then release both keys.
  83.  
  84.     The term "Orpheus" is generally used in reference to OH.EXE, the authoring
  85.     program which is the heart of the Orpheus system.  Occasionally it refers
  86.     to the system as a whole, which includes OHREAD.EXE and both programs'
  87.     help and utility files.
  88.  
  89.  
  90.  
  91.     TRADEMARKS
  92.  
  93.     Trademarks are the property of their respective holders.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.                                        2
  120.  
  121.  
  122.  
  123.  
  124.   ---------------------------------------------------------------------------
  125.                         T A B L E  O F  C O N T E N T S
  126.   ---------------------------------------------------------------------------
  127.  
  128.  
  129.  
  130.  Chapter 1  -  Getting Started ......................................... 5
  131.     Quickstart ......................................................... 5
  132.     How To Use This Manual ............................................. 5
  133.     System Requirements ................................................ 6
  134.     Installation ....................................................... 6
  135.     Getting Help ....................................................... 6
  136.     Is Orpheus For You? ................................................ 7
  137.  
  138.  Chapter 2  -  The Orpheus Environment ................................. 9
  139.     Windows ............................................................ 9
  140.     Workspace .......................................................... 9
  141.     Statusbar .......................................................... 10
  142.     Using Menus ........................................................ 12
  143.     Using Help ......................................................... 13
  144.     Mouse Interface .................................................... 13
  145.  
  146.  Chapter 3  -  Tutorial : Making Hypertext ............................. 16
  147.     Starting With a Homecard ........................................... 16
  148.     What's Going To Happen ............................................. 17
  149.     Opening Some Doors ................................................. 18
  150.     Is Your Data Safe? ................................................. 19
  151.     Navigating Hypertext ............................................... 19
  152.     Windows & Navigation ............................................... 20
  153.     Windows & Editing .................................................. 20
  154.     One Step "More" .................................................... 21
  155.     Behind The Scenes .................................................. 22
  156.     When We Return ..................................................... 23
  157.  
  158.  Chapter 4  -  Tutorial : Flexible Hypertext ........................... 25
  159.     Importing Text ..................................................... 25
  160.     Moving Links ....................................................... 27
  161.     Splitting .......................................................... 28
  162.     Designating Home ................................................... 28
  163.     Crosslinks & Retrace ............................................... 29
  164.     Resizing Linkwords ................................................. 31
  165.     Changing Link Types ................................................ 32
  166.     Unlinking .......................................................... 33
  167.     Recovering ......................................................... 33
  168.  
  169.  Chapter 5  -  Tutorial : Completing a Project ......................... 35
  170.     Sweating The Details ............................................... 35
  171.         Copyright ...................................................... 35
  172.         Cardlength ..................................................... 36
  173.         Full Title ..................................................... 36
  174.         Include Notes .................................................. 36
  175.         Your Colors .................................................... 36
  176.  
  177.  
  178.  
  179.                                        3
  180.  
  181.  
  182.  
  183.  
  184.         Graphic Titlebar ............................................... 37
  185.         Check the "More" Corner ........................................ 37
  186.         Check the Frame ................................................ 37
  187.         "Check Card" Command ........................................... 37
  188.         Check Linkwords ................................................ 38
  189.         Use Tour Mode .................................................. 38
  190.     Compiling Your Project ............................................. 39
  191.     Distributing Your Work ............................................. 40
  192.     The Orpheus Reader ................................................. 43
  193.     Cleaning Up ........................................................ 44
  194.  
  195.  Chapter 6  -  Shareware : Registering Orpheus ......................... 45
  196.     Licence ............................................................ 45
  197.     What You Get When You Register ..................................... 45
  198.     Site Licencing ..................................................... 46
  199.     Sharing Orpheus .................................................... 47
  200.     A Note to Pioneers ................................................. 47
  201.  
  202.  Chapter 7  -  Orpheus Utilities ....................................... 48
  203.     REGIT.EXE .......................................................... 48
  204.     SNAPSHOT.EXE ....................................................... 50
  205.  
  206.  Appendix A  -  Orpheus and Other Software ............................. 52
  207.     Disk Caches ........................................................ 52
  208.     Desqview ........................................................... 52
  209.  
  210.  Appendix B  -  Using Orpheus on a Network ............................. 53
  211.  
  212.  Appendix C  -  Using the "ORPHEUS" Environment Variable ............... 54
  213.  
  214.  Appendix D  -  Format of An Uncompiled Card ........................... 55
  215.     Structure of a Card ................................................ 55
  216.     Number Systems ..................................................... 55
  217.     The Filename ....................................................... 56
  218.     Header and Link Codes .............................................. 57
  219.     The Header ......................................................... 58
  220.     Linkwords .......................................................... 59
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.                                        4
  240.  
  241.  
  242.  
  243.  
  244.   ---------------------------------------------------------------------------
  245.                          CHAPTER 1  -  GETTING STARTED
  246.   ---------------------------------------------------------------------------
  247.  
  248.  
  249.  
  250.  Topics in this chapter:  Quickstart
  251.                           How To Use This Manual
  252.                           System Requirements
  253.                           Installation
  254.                           Getting Help
  255.                           Is Orpheus For You?
  256.  
  257.  
  258.  
  259.  Quickstart
  260.  
  261.        If you're the intrepid explorer type who never reads manuals, go ahead
  262.     and fire up the authoring program (OH.EXE).  Everything you need to know
  263.     is in the menus and online Help.  Browse them both, experiment, have fun.
  264.     For an explanation of any menu item, click on it with the right mouse
  265.     button or place the selection bar on it and press <F1>.  To make sure you
  266.     get off on the right foot, I would strongly suggest you read Chapter 3,
  267.     the tutorial on making hypertext the Orpheus way.
  268.  
  269.  
  270.  How To Use This Manual
  271.  
  272.        This manual is a supplement to the online Help in Orpheus Author
  273.     (OH.EXE).  Use it to find out what Orpheus is all about, to get set up,
  274.     to take your first few steps on the path of hypertext authoring.  Bear in
  275.     mind however that the most detailed information on Orpheus is in the
  276.     program itself, in online Help, which you can open at any time by pressing
  277.     <F1>.  With the exception of information on programming hypertext, this
  278.     manual tells you only a fraction of what you will learn through the Help
  279.     system.  (See Part II, MANUAL2.DOC, for information on programming.)
  280.  
  281.        To print out this manual, set your printer to 6 lines per inch, 10
  282.     characters per inch, and use the following command at the DOS prompt:
  283.  
  284.                 COPY MANUAL1.DOC PRN
  285.  
  286.     Then do the same with MANUAL2.DOC.  Alternately you can load the files
  287.     into your favorite word processor and print them from there.  There are
  288.     59 lines per page, with the last line of text at line 55.
  289.  
  290.         An alternative to printing out the manual is to read it in a special
  291.     Orpheus window called FileView.  To do this, start the authoring program
  292.     by giving the "OH" command at the DOS prompt.  Press <Alt-V> to switch to
  293.     the FileView window, and type in the name of this manual, "MANUAL1.DOC".
  294.     Then press <Enter>.  Once the file is loaded, you can switch back and
  295.     forth between FileView and the current Edit window by pressing <Alt-V>.
  296.  
  297.  
  298.  
  299.                                        5
  300.  
  301.  
  302.  
  303.  
  304.  System Requirements
  305.  
  306.        Orpheus Author (OH.EXE) requires 480K of RAM, DOS 3.2 or higher, and a
  307.     hard disk.  You do not need a graphics display card unless you wish to
  308.     link graphics into your work.
  309.  
  310.        The Orpheus Reader (OHREAD.EXE) requires 256K of RAM and DOS 3.2 or
  311.     higher; a hard disk is NOT required.  A graphics display card is only
  312.     needed to view whatever graphics (if any) may be included in a work.
  313.  
  314.         Both programs should run on any XT- or AT-compatible computer.  Both 
  315.     support the use of a Microsoft-compatible mouse, but a mouse is not 
  316.     required except in OH.EXE, and only for making hotspots in graphics or 
  317.     ansi screens. 
  318.     
  319.  
  320.  Installation
  321.  
  322.         Orpheus should be installed in its own subdirectory on your hard
  323.     disk.  An example would be "C:\ORPHEUS", but the name of the subdirectory
  324.     is up to you.  Copy all of the files on your distribution disks into
  325.     this subdirectory.
  326.  
  327.         Orpheus requires that the DOS "Files" variable be set to at least
  328.     15.  Look in your CONFIG.SYS file (in the root directory of your hard
  329.     disk) for the line beginning "FILES=".  Make sure that the number given
  330.     is at least 15.  If you don't have a CONFIG.SYS file you will need to
  331.     create one; consult your DOS manual, or type in the following lines at the
  332.     DOS prompt (leaving out the comments at the right, which begin with ";"):
  333.  
  334.             c:                         ; If in another drive.
  335.             cd\                        ;
  336.             copy con config.sys        ; Tells DOS to create CONFIG.SYS file.
  337.             FILES=15                   ; Our setting.
  338.             ^Z                         ; DON'T TYPE THIS!  Instead, press
  339.                                        ; the F6 key, which inserts "^Z",
  340.                                        ; then press <Enter>.
  341.  
  342.     If you have changed or created your CONFIG.SYS file you must now reboot
  343.     the computer for the new setting to take effect.
  344.  
  345.  
  346.  Getting Help
  347.  
  348.         If you get stuck or need something explained, the FIRST thing to do
  349.     is to explore online Help.  In just about all situations, pressing <F1>
  350.     calls up context-sensitive Help with an explanation of exactly what you
  351.     need to do or to know.  Every item on every menu has a Help text which
  352.     you can access by clicking on the item with the right mouse button, or by
  353.     moving the selection bar to it and pressing <F1>.  The main menu in Help
  354.     gives you access to every topic connected with the program.
  355.  
  356.         
  357.  
  358.  
  359.                                        6
  360.  
  361.  
  362.  
  363.  
  364.         If you're still stuck, the SECOND thing to do is to read this manual, 
  365.     assuming that you need a tutorial or more information on programming. 
  366.     If you're still stuck after that, or if you have encountered a bug or run 
  367.     into other difficulties, please DO contact me (Rod Willmot) at Hyperion 
  368.     Softword.  There are three ways to reach me:  by voice, by modem, and by 
  369.     mail. (1) Call 1-819-566-6296, anytime between 11:30 a.m. and 11:30 p.m., 
  370.         Eastern Time (generally 7 days a week).  I can help best if your
  371.         computer is up and running with Orpheus loaded.
  372.     (2) If you have a modem there are several ways you can reach me, as
  373.         detailed in the README file included with the shareware version, or
  374.         on the "Orpheus Support" sheet if you are a registered user.  This
  375.         method is inexpensive and relatively fast, with the turnaround time
  376.         being 24 hours in some cases, a few days at most.
  377.     (3) Write to me at Hyperion Softword, 535 Duvernay, Sherbrooke, QC,
  378.         Canada J1L 1Y8.  This is a good way to discuss ideas you may have;
  379.         it is *not* a good way to get help because the turnaround time for
  380.         me to hear from you and reply is simply too long.
  381.  
  382.  
  383.  Is Orpheus For You?
  384.  
  385.         What do you, as a hypertext writer, care about most?  Do you want
  386.     your reader to connect with your work -- to find it attractive, easy to
  387.     access, rewarding to use?  Do you want to compose spontaneously in
  388.     hypertext, to follow your inspiration without having to worry about
  389.     filenames and codes?  Do you want to transform conventional text into
  390.     something truly different -- a place where the reader can move at will,
  391.     swiftly and easily finding whatever he needs?  Do you see the computer
  392.     screen as a whole new medium of communication, one as different from the
  393.     printed page as books from the spoken word?
  394.  
  395.         If any or all of the above are true, Orpheus is for you. The kind of
  396.     person Orpheus is NOT for is the one who is determined to use the computer
  397.     as nothing but a glorified typewriter.  Contentedly captive in the Age of
  398.     Print, this person sees the computer screen as a shrunken viewport on a
  399.     would-be page.  When he thinks of publishing he thinks of paper.  When he
  400.     thinks of hypertext he thinks of scattered files that he would like to
  401.     link together, harum-scarum, like newspaper columns recycled into a book.
  402.  
  403.         In Orpheus, the unit of communication is the screen, and the unit of
  404.     composition is the hypertext card, which in compiled form is the size of
  405.     the screen.  From the reader's point of view, this means that instead of
  406.     opening files and scrolling through them from beginning to end, you move
  407.     from screen to screen through a hypertext network.  From the author's
  408.     point of view, it means that for the most part you never even think about
  409.     files:  you extend your growing document by opening "doors", which Orpheus
  410.     automatically links to new cards.  You can navigate effortlessly through a
  411.     vast work in progress, using simple directional keystrokes on the number
  412.     keypad, or by pointing and clicking with the mouse.
  413.  
  414.         Most hypertext systems remain true to the conventions of printed text,
  415.     which we can sum up in one word:  linearity.  An example of linearity is
  416.         
  417.  
  418.  
  419.                                        7
  420.  
  421.  
  422.  
  423.  
  424.     the idea that a story should be told along a straight line from beginning 
  425.     to end.  Occasionally, it's true, a certain linear extension is 
  426.     appropriate to part of a story or exposition.  Usually however, linearity 
  427.     is just a habit, a result of centuries of conditioning by the physical 
  428.     obligation to put one thing after another:  spoken words strung out on the 
  429.     thread of Time... calligraphy on a rarely-opened scroll... pages typed, 
  430.     retyped, and printed, sewn into their sole correct order in a heavy tome. 
  431.     Hypertext dissolves that conditioning, letting your words and ideas 
  432.     blossom into their natural multiple dimensions:  instead of a string, a 
  433.     galaxy; instead of a scroll, a palace of countless interconnecting rooms 
  434.     and halls; instead of a tome of tedious chapters, a garden that unfolds in 
  435.     all directions. 
  436.  
  437.         It comes down to this:  other hypertext systems *expect* you to
  438.     scroll, because they deal in files; Orpheus eliminates scrolling from the
  439.     equation.  Here's where some writers get hot under the collar.  Yes, it
  440.     does take a little more work to write well for the screen, to express your
  441.     ideas and information in chunks of 24 or 25 lines.  But think about your
  442.     reader:  with scrolling hypertext, he never knows if an important keyword
  443.     is just offscreen.  He loses track of where he's been, can't recall whether
  444.     such-and-such a topic was in the current file (scrolled out of sight) or
  445.     in another link.  With non-scrolling hypertext, the reader sees at a
  446.     glance what paths there are to take, can explore and return and explore
  447.     again, swiftly and easily, without ever getting lost.  Additionally, the
  448.     visual orientation of non-scrolling hypertext encourages you, the author,
  449.     to design more readable screens.  It encourages you to express yourself
  450.     more succinctly -- to notice the repetitions and verbosity, trim them, and
  451.     put punch into your writing.
  452.  
  453.         Naturally, sometimes you do want several paragraphs to follow each
  454.     other in a straight line, and as a matter of fact Orpheus lets you
  455.     accomplish that quite handily.  Using the "More" link type (created
  456.     through the Split command on the Link Menu), you can connect as many
  457.     linear elements as you wish.  The effect is like a simple <PgDn> -- you
  458.     just flip down a screenful at a time instead of scrolling.
  459.  
  460.         Is Orpheus for you?  Are you wondering whether you'll be able to write
  461.     in screen-sized chunks?  Keep in mind that Orpheus does everything
  462.     possible to make hypertext writing easy.  First, throughout the authoring
  463.     phase every card has a 50-line workspace, which you *can* scroll.  Second,
  464.     Orpheus lets you do everything within OH.EXE's Integrated Development
  465.     Environment.  If you wish, you can also do some or all of your writing
  466.     in your favorite word processor, importing your text into Orpheus through
  467.     the FileView window.  (If you choose to do this, just remember to save a
  468.     copy of your text in non-document mode -- as plain ASCII text -- before
  469.     importing that copy into Orpheus.)
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.                                        8
  480.  
  481.  
  482.  
  483.  
  484.   ---------------------------------------------------------------------------
  485.                     CHAPTER 2  -  THE ORPHEUS ENVIRONMENT
  486.   ---------------------------------------------------------------------------
  487.  
  488.  
  489.  
  490.  Topics in this chapter:  Windows
  491.                           Workspace
  492.                           Statusbar
  493.                           Using Menus
  494.                           Using Help
  495.                           Mouse Interface
  496.  
  497.  
  498.  
  499.         Orpheus Author is the first Integrated Development Environment for
  500.     creating hypertext documents.  Everything you need to compose, modify, and
  501.     enhance your hypertext is right at your fingertips.  Best of all, this
  502.     environment lets you see your work exactly as your readers will see it
  503.     when you compile and distribute it with the Orpheus Reader.
  504.  
  505.  
  506.  Windows
  507.  
  508.         Orpheus provides four Edit windows, plus a fifth window called
  509.     FileView for reading and importing external text files.  The Edit windows
  510.     are for writing hypertext and for navigating through your work in
  511.     progress.  Each Edit window has a 50-line workspace -- the number of
  512.     lines in an uncompiled hypertext card.  Normally the Edit windows are
  513.     loaded with cards from different branches of your project; this lets you
  514.     keep tabs on up to four different "growing points" of your work.  Orpheus
  515.     saves your window configuration when you quit the program; the next time
  516.     you load that project, each Edit window will have the same contents as
  517.     when you exited.  For more on Windows in Orpheus, check out the Window
  518.     Menu and read online Help.
  519.  
  520.  
  521.  Workspace
  522.  
  523.        When you start up Orpheus the first time, what you see is a mostly
  524.     blank screen with the Orpheus Statusbar on the top line.  Actually, you
  525.     are looking at an empty hypertext card.  Like an index card, a card in
  526.     Orpheus has a certain height and width; it does not go on forever.  If
  527.     you press the <Down> arrow and keep your eye on the line counter (towards
  528.     the right of the Statusbar), you'll notice that the cursor goes as far as
  529.     line 50.  This is your workspace in every card in Orpheus:  50 lines, the
  530.     width of the screen.
  531.  
  532.         However, although your workspace is 50 lines per card, the eventual
  533.     length of your cards in compiled form will be either 24 or 25 lines,
  534.     depending on whether or not you want your finished work to be presented
  535.     with a Titlebar.  Why so few?  Orpheus takes a screen-oriented approach
  536.  
  537.  
  538.  
  539.                                       9
  540.  
  541.  
  542.  
  543.  
  544.     to hypertext:  instead of stringing together long text files and making
  545.     the reader scroll through them, Orpheus encourages you to develop true
  546.     electronic documents in which the reader moves from screen to screen,
  547.     with the openings to new paths always clearly visible.
  548.  
  549.         From the moment you begin writing in Orpheus, think about what you
  550.     want your readers to see:  not just what you want to say to them, but the
  551.     visual impressions you want them to have as they move through your work.
  552.     Like a well-designed book, a carefully-prepared network of hypertext
  553.     cards conveys information much more effectively, and is certainly more
  554.     pleasant to read, than a presentation that merely fills the screen with
  555.     unformatted text.
  556.  
  557.         Use the lower half of your workspace for the "overflow" as you develop
  558.     your text.  If the overflow becomes suitable for a card of its own, open
  559.     the Link Menu and select "Split" to create a new card for it.
  560.  
  561.  
  562.  Statusbar
  563.  
  564.         A variety of messages and symbols appear on the Statusbar to keep
  565.     you informed of where you are and what you are doing; some of them can
  566.     be used with the mouse to switch windows, toggle edit modes, or navigate
  567.     hypertext.  Through the Options Menu you can set the Statusbar to appear
  568.     on either the top or bottom line of the screen.  The illustration below
  569.     represents all of the items that might appear:
  570.  
  571. Esc:Menu |1 2 3 4 V| Push Marking  =Bookname=  Init More iwS [32] * | < | U | >
  572. 1         2          3    4        5           6    7    8   9 10 11  12
  573.  
  574.     (1) Reading from left to right, the first item reminds you how to open the
  575.     menu system.  Note that you can open the menus even faster using the Alt
  576.     key in combination with the first letter of the menu's name; for example,
  577.     <Alt-L> opens the menu system and pulls down the Link Menu.  You can also
  578.     open the menu system by clicking on "Esc:Menu" with the left mouse button.
  579.  
  580.     (2) Next is the list of windows, "1 2 3 4 V".  Windows 1 to 4 are Edit
  581.     Windows, for writing hypertext; window V is the FileView window, for
  582.     read-only access to external text files.  The fast way to switch to any
  583.     particular window is to use the Alt key in combination with the window
  584.     name; for example, <Alt-2> switches to window 2, while <Alt-V> switches to
  585.     the FileView window.  <Ctrl-V> switches you between the current Edit
  586.     window and the last one used.  See the Window Menu for more information.
  587.  
  588.     (3) Indicating your current editing mode, "Push" is for Pushright (new
  589.     text pushes text at the cursor to the right), "Over" for Overwrite (new
  590.     text overwrites text at the cursor).  To switch from one mode to the
  591.     other, open the Options Menu or press <F10>.
  592.  
  593.     (4) Next comes a message area that is normally blank.  The illustration
  594.     displays the "Marking" message, which would appear if you were marking a
  595.     block of text.  When you mark a block in one window and then switch to
  596.  
  597.  
  598.  
  599.                                       10
  600.  
  601.  
  602.  
  603.  
  604.     another window, the message area says "Import" to remind you that using
  605.     the Paste Command (from the Edit Menu) will import the marked block into
  606.     the current window.  When marking in line mode the message is capitalized;
  607.     in column mode the message is followed by the letter "C".
  608.  
  609.     (5) This is the filename of your Homecard, which Orpheus uses as the short
  610.     name for your book.  When you are actually in the Homecard the name is
  611.     capitalized and in quotation marks: "BOOKNAME"; when you are in other
  612.     card you see it in the form illustrated, ≡Bookname≡.  Though the name
  613.     of the Homecard is limited to 8 letters without an extension, Orpheus
  614.     provides an area for you to enter a proper title of up to 32 characters;
  615.     this will appear on the titlebar of the Orpheus Reader when your work is
  616.     compiled.  (Select "Full Title" on the Project Menu.)
  617.  
  618.     (6) The "Init" flag appears when the current card has an Init link.  An
  619.     Init is a link to a special card containing only programming commands
  620.     instead of text for display.  The Orpheus Reader detects and processes
  621.     Inits automatically.  To jump to an Init within OH.EXE, click on the flag
  622.     with the left mouse button, or open the Link Menu and select "Edit Init".
  623.  
  624.     (7) The "More" flag appears when the current card has a More link.  This
  625.     is a hypertext link much like a Door or Note, but attached to the card as
  626.     a whole rather than to a linkword.  A More link is a link to the "next"
  627.     card; it's a way of saying, "Select me to see what comes right after the
  628.     last line on this card."  When your work is compiled and displayed in the
  629.     Orpheus Reader, More links are shown by the symbol "=More=" appearing in
  630.     the lower right corner of the screen; the user can select or click on
  631.     this as he would a linkword.  (Why does the "More" flag appear on the
  632.     statusbar in OH.EXE, rather than in the lower right corner where it
  633.     belongs?  To keep it out of the way while you're editing.)
  634.  
  635.     (8) The "iws" cluster signals the state of three edit modes:  AutoInsert,
  636.     Wordwrap/AutoReformat, and AutoSave.  When an option is off its letter
  637.     appears in lowercase; when on, in uppercase.  The middle symbol is a bit
  638.     special, however:  as you would expect, it's a "w" when Wordwrap is turned
  639.     off, a "W" when it is turned on; but when AutoReformat is selected it's
  640.     an "R", except when you are in a card that you have "Locked" to prevent
  641.     accidental formatting -- in which case it's a bright "L".  All of these
  642.     options are set through the Options Menu.
  643.  
  644.     (9) Square brackets on either side of the line number indicate that you
  645.     have set a temporary left or right margin.  Pressing <Ctrl-[> sets a
  646.     temporary left margin at the cursor position; the same keystroke cancels
  647.     the tempory margin.
  648.  
  649.     (10) Indicates the line on which the cursor is positioned, from 1 to 50.
  650.  
  651.     (11) A bright "*" appears when the current card has changed since you last
  652.     saved it to disk.  Press <F2> to save, and it disappears.
  653.  
  654.     (12) The right of the statusbar is occupied by a trio of navigational
  655.     commands for use with the mouse.  The illustration represents them as
  656.  
  657.  
  658.  
  659.                                       11
  660.  
  661.  
  662.  
  663.  
  664.     "<", "U", and ">", since the symbols used onscreen wouldn't come out on
  665.     your printer.  Using the left mouse button, clicking on the command at
  666.     the left jumps you to the Homecard; clicking on the command at the right
  667.     jumps you to the parent of the current card; and clicking on the command
  668.     in the middle jumps you to the previous card visited, letting you retrace
  669.     up to 50 moves in any direction.
  670.  
  671.         I mentioned earlier that Orpheus lets you choose between a cardlength
  672.     of 24 or 25 lines, as it will appear when your work is compiled and
  673.     displayed in the Orpheus Reader.  (The default cardlength is 24 lines;
  674.     to change this, open the Project Menu and select "Cardlength".)  Since the
  675.     standard screen has 25 lines, 24-line cards leave room for the Orpheus
  676.     Reader's Titlebar, while 25-line cards do not.  When the Reader detects
  677.     a book that uses 25-line cards, it automatically displays a message
  678.     telling the user how to pop up the Titlebar and open the menu system; it
  679.     then gives over the entire screen to your hypertext cards.  In OH.EXE the
  680.     statusbar is always displayed regardless of cardlength, so there is a
  681.     special command to let you view a 25-line card as it would appear in the
  682.     Reader.  <Alt-C>, the "Check Card" command on the Tools Menu, also
  683.     shows other details such as the true location of the =More= flag.
  684.  
  685.  
  686.  Using Menus
  687.  
  688.         Orpheus Author is a feature-rich program that new users may find a
  689.     little complex.  Fortunately, the menu system makes it easy to find your
  690.     way around and quickly become an expert.  The BEST way to learn Orpheus is
  691.     to browse the menus while taking advantage of online Help.  For an
  692.     explanation of any menu item, place the selection bar on it and press
  693.     <F1>, or click on it with the right mouse button.
  694.  
  695.         Pressing <Esc> opens the menu system and automatically pulls down the
  696.     File Menu or the last menu opened.  Once you are familiar with Orpheus
  697.     you'll skip that step and pull down exactly the menu you want using the
  698.     Alt-key method.  For example, <Alt-F> opens the File Menu, and <Alt-L>
  699.     opens the Link Menu.  The only exception is when you are in the FileView
  700.     window, where <Esc> is required to open the special FileView menu.
  701.  
  702.         Once the menu system is open, you can change menus with the left/right
  703.     arrow keys; for example, if the File Menu is open, press the right arrow
  704.     to open the Edit Menu.  To select an item on a menu, move the selection
  705.     bar to it (using the up/down arrow keys) and press <Enter>.  Alternately,
  706.     just press that item's hilited letter, or click on it with the left
  707.     mouse button.
  708.  
  709.         Some menu items lead to submenus; for example, on the File Menu
  710.     selecting "Print" leads to a submenu of print-related actions, including
  711.     "Set Print Options", which leads to a further submenu.  Many menu items
  712.     allow you to set options or even enter text.  Notice that some option-type
  713.     items use square brackets [] while others use parentheses ().  When
  714.     square brackets are used it means that you can select that option in
  715.     combination with other options; when parentheses are used it means that
  716.  
  717.  
  718.  
  719.                                       12
  720.  
  721.  
  722.  
  723.  
  724.     selecting one option turns off another option.  For example, on the first
  725.     Print submenu parentheses are used for the mutually exclusive options of
  726.     printing to the printer or to a disk file.  On the second Print submenu
  727.     square brackets are used for the various dimensions you may want to set,
  728.     such as margins.
  729.  
  730.         With a submenu open, press <Esc> to back up to the previous menu
  731.     level.  With no submenu open, <Esc> closes the menu system.  See the
  732.     topic on "Using the Mouse" in online Help.
  733.  
  734.         While the menu system makes Orpheus easy to learn, keyboard
  735.     accelerators let you bypass the menu as you quickly become an expert.
  736.     Practically all accelerators are indicated on the menus, with the
  737.     remainder (for cursor control and so on) listed in online Help under
  738.     topics linked to "Using the Keyboard".
  739.  
  740.  
  741.  Using Help
  742.  
  743.         As mentioned above, Help is available on any menu item.  It is also
  744.     available in any dialog -- indeed, any situation whatever -- by pressing
  745.     <F1> or even just <H> (dialogs only).  You can also return to the previous
  746.     help-topic by pressing <Alt-F1>.  For example, suppose you want to draw a
  747.     diagram using the Boxdraw feature, and aren't quite sure which keys to
  748.     use.  Open the Tools Menu and select Boxdraw, then press <F1> for help.
  749.     When you've learned enough to begin drawing, press <Esc> to close Help.
  750.     Now at any time while drawing you can press <Alt-F1> and Help will return
  751.     with the precise instructions you were last looking at.
  752.  
  753.         Many Help topics include hypertext links connected to other topics.
  754.     The presence of such a link is indicated by a hilited word or phrase, or
  755.     one that already has the selection bar on it.  Use the arrow keys to move
  756.     the selection bar to other linkwords; press <Enter> to jump to the
  757.     selected link.  The up/down arrows keys also scroll the text, or you can
  758.     page through a topic with PgUp/PgDn.  Press <Home> or <End> to jump to the
  759.     beginning or end of a topic.
  760.  
  761.         Finally, note that although the Orpheus Reader is much simpler and
  762.     easier to use than Orpheus Author, it uses the same Help system, but with
  763.     different texts.
  764.  
  765.  
  766.  Mouse Interface
  767.  
  768.        When you begin an Orpheus session the mouse pointer is set on the far
  769.     left of the Statusbar.  In Edit windows the mouse pointer disappears
  770.     automatically when you start typing, but reappears if you move the mouse.
  771.  
  772.     WINDOWS
  773.     Click the left button on one of the symbols from the "1 2 3 4 V" cluster
  774.     on the Statusbar.  Numbers 1 to 4 are for the Edit windows, while V is
  775.     for the FileView window.
  776.  
  777.  
  778.  
  779.                                       13
  780.  
  781.  
  782.  
  783.  
  784.     MENUS
  785.     To open the menu system, click the left button on the words "Esc:Menu" on
  786.     the statusbar.  Click the left button on a menu item to select it; click
  787.     on the selected item to activate it -- like pressing <Enter>.  For 
  788.     context-sensitive Help, click the *right* button on any menu item.  To
  789.     close the current menu, click either button outside the borders of the 
  790.     menu.
  791.  
  792.     DIALOGS
  793.     Most dialogs include command buttons enclosed in angle brackets, such as
  794.     < Help > or < Cancel >.  Click the left button on any such command to
  795.     perform it.  Many dialogs also include commands on their window border;
  796.     for example, the Help window displays " Help  Exit  Back " on its border;
  797.     you can click on any border command just as you would a command in angle
  798.     brackets.  Click the right button to close a dialog, or click on "Exit".
  799.  
  800.     LISTS AND SCROLLABLE TEXT
  801.     To scroll text in the Help window, or to see the rest of a file list,
  802.     click or hold down the left button on either the top or bottom border of
  803.     the window.
  804.  
  805.     CURSOR CONTROL
  806.     While editing, click the left button anywhere in the text area to place
  807.     the cursor there (unless there is a marked block -- see below).
  808.  
  809.     NAVIGATING HYPERTEXT
  810.     Click the left button on a linkword to set the cursor there, then click
  811.     again to jump through the link.  If the card has an Init or More link,
  812.     click on the prompt on the Statusbar to jump to the linked card.  Return
  813.     from jumps by clicking on the command symbols on the right of the
  814.     Statusbar: on "<" to jump to the Homecard, on "U" to retrace your steps in
  815.     all directions, on ">" to jump to the parent of the current card.
  816.  
  817.     BLOCK OPERATIONS
  818.     There are three marking modes (stream, line, column), all of which you can
  819.     use while marking with the mouse.  There are also three actions (move,
  820.     copy, frame) which you can perform with a single mouse-click instead of
  821.     through the menus.  The right button is for marking/unmarking, the left
  822.     button for actions.  To determine the current mark-mode and block-action,
  823.     slip the mouse pointer into the message area on the statusbar (this is a
  824.     normally blank space to the left of the title).  You will see the prompt
  825.     "(Strm - Move)".  This means that marking with the mouse would occur in
  826.     stream mode, and that clicking the left button with a block marked would
  827.     move the block to the location of the pointer.  Click on the left side of
  828.     the dash to rotate through stream, line, and column modes.  Click on the
  829.     right side to rotate through move, copy, and frame actions.  To close this
  830.     mini-dialog, move the pointer off the statusbar.
  831.  
  832.         To mark a block, move the mouse pointer to the beginning of the area
  833.     to mark, then press and hold down the right button and drag the pointer to
  834.     the end of the area to mark.  Marking is in the current mark-mode as
  835.     explained above.  To complete the mark, release the right button.  To
  836.  
  837.  
  838.  
  839.                                       14
  840.  
  841.  
  842.  
  843.  
  844.     unmark a block, *click* the right mouse button.  When a block is marked,
  845.     clicking the *left* button performs the current action as described above.
  846.     If the action is move or copy, the result takes place at the location of
  847.     the mouse pointer.  If the action is frame, it takes place at the marked
  848.     block.  Framing is ONLY performed if the block was marked in column mode;
  849.     moreover, if the current mode is column and the current action is frame,
  850.     the Frame Dialog pops up automatically when marking is completed.
  851.  
  852.     FILEVIEW
  853.     The FileView window places all of its commands on a command bar at the 
  854.     bottom of the screen.  You can click the left button on these commands or 
  855.     press the indicated key.  "AutoMark" marks all 23 lines of visible text; 
  856.     "Search" opens the Search Dialog; "Open" lets you load a new file; "Close" 
  857.     ends the FileView session, closing the file and releasing memory; "Top" 
  858.     and "End" jump to the beginning or end of the file.  The large up/down 
  859.     pointers scroll by 23-line chunks (like pressing PgUp/PgDn), while the 
  860.     arrow pointers scroll by line after moving the cursor (like pressing 
  861.     Up/Down).  Finally, "Return" switches you back to the current Edit window 
  862.     while leaving FileView open. 
  863.  
  864.     BLOCK OPERATIONS IN FILEVIEW 
  865.     To mark a block:  with the mouse pointer on the line at which you wish to 
  866.     begin the block, press and hold down the right mouse button; move the 
  867.     pointer to the line ending the block; then release the button.  Click on 
  868.     "Return" to switch back to the current Edit window, then move the pointer 
  869.     to the line where you wish to insert the block and click the left button. 
  870.     (For more information, press <F1> while in FileView and select 
  871.     "Mark/Unmark".)  If you are importing a long text as a series of More 
  872.     links, AutoMark/AutoMORE is the speediest method.  When a block has been 
  873.     AutoMarked, you can use AutoMORE to append a More link to the card in the 
  874.     current Edit window and automatically copy the marked block to the new 
  875.     blank card.  Before using this technique, make sure that the card in the 
  876.     current Edit window is the one you wish to use for this.  Back in FileView 
  877.     select "AutoMark" to mark all 23 visible lines.  You can resize the block 
  878.     with the up/down arrows (to reduce it) and the large up/down pointers (to 
  879.     restore part that was reduced).  Notice that the "AutoMark" has become 
  880.     "AutoMORE"; click on the command now, and Orpheus adds a More link to the 
  881.     current card and copies the marked block into the newly created card. 
  882.     
  883.     EDIT MODES
  884.     You can toggle edit modes by clicking on the associated prompt or symbol
  885.     on the Statusbar.  For example, to switch from Pushright to Overwrite
  886.     mode, click on the "Push" or "Over" flag on the Statusbar.  Three other
  887.     modes -- AutoInsert, Wordwrap/ AutoReformat, and AutoSave -- are indicated
  888.     in the "IWS" cluster to the right of the title area, and you can toggle
  889.     them with a mouse-click too.
  890.  
  891.     SEARCH/REPLACE
  892.     When doing a "Replace All (Confirm Each)" operation, click the left
  893.     button on the found text to replace it, or anywhere else to skip that
  894.     instance.  Click the right button to cancel the operation.
  895.  
  896.  
  897.  
  898.  
  899.                                       15
  900.  
  901.  
  902.  
  903.  
  904.   ---------------------------------------------------------------------------
  905.                   CHAPTER 3  -  TUTORIAL : MAKING HYPERTEXT
  906.   ---------------------------------------------------------------------------
  907.  
  908.  
  909.  
  910.  Topics in this chapter:  Starting With a Homecard
  911.                           What's Going To Happen
  912.                           Opening Some Doors
  913.                           Is Your Data Safe?
  914.                           Navigating Hypertext
  915.                           Windows & Navigation
  916.                           Windows & Editing
  917.                           One Step "More"
  918.                           Behind The Scenes
  919.                           When We Return...
  920.  
  921.  
  922.  
  923.         In this chapter we'll do a practice run at making hypertext in
  924.     Orpheus.  You'll find out how to open links, how Orpheus keeps your book
  925.     together, and how it uses multiple Edit windows to give you four-point
  926.     access to your work.  At the end of the chapter we'll leave the results
  927.     intact so that you can expand on them in the next tutorial.
  928.  
  929.  
  930.  Starting With a Homecard
  931.  
  932.         We'll assume that you have installed Orpheus as described in Chapter
  933.     1, in a directory of its own on your hard drive, and that now you are in
  934.     that directory looking at the DOS prompt.  To start, type the command
  935.     below at the DOS prompt, then press <Enter>:
  936.  
  937.                 OH TEST
  938.  
  939.     When Orpheus loads you'll see the title "Test" in the middle of the
  940.     statusbar, with the rest of the screen being an empty card. After we type 
  941.     in a few words and open our first link, this card will become a Homecard, 
  942.     the starting point for an electronic book.  Every book made in Orpheus has 
  943.     one Homecard, which resides as a file in your working directory.  
  944.     Homecards are the only files whose names you create yourself.  When you 
  945.     start making links, Orpheus creates the linked cards for you, naming them 
  946.     automatically and storing them in a subdirectory named after the Homecard. 
  947.  
  948.         We won't be doing anything fancy in this practice run, so let's
  949.     identify the Homecard so that you'll be sure to recognize it later on.
  950.     Press <Enter> a few times to bring the cursor down, then type:
  951.  
  952.  
  953.                     **  THIS IS THE HOMECARD  **
  954.  
  955.                             ...and here is door1 in it.
  956.  
  957.  
  958.  
  959.                                       16 
  960.  
  961.  
  962.  
  963.  
  964.  What's Going To Happen
  965.  
  966.         Orpheus can be disconcerting at first if you're used to more 
  967.     traditional software, so I'd like to sketch out what's going to happen as 
  968.     we start making links. 
  969.  
  970.     In Step 1, we'll have a Homecard in window 1, with the other three Edit
  971.     windows empty:
  972.  
  973.         STEP 1      Window 1       Window 2       Window 3      Window 4
  974.         ======
  975.                     +======+       empty          empty         empty
  976.                     | Home |
  977.                     +======+
  978.  
  979.     In Step 2, we'll leave the Homecard in window 1, and will find ourselves
  980.     in window 2 with the first "child card".  Since these are full-screen
  981.     windows you may think that your Homecard has vanished, but it hasn't.  Not
  982.     only is it waiting for you in window 1, you could easily *navigate* to it
  983.     from the card in window 2.  (We'll get to navigation later.)
  984.  
  985.         STEP 2      Window 1       Window 2       Window 3      Window 4
  986.         ======                          |Up
  987.                     +======+       +====+===+     empty         empty
  988.                     | Home |       | Child1 |
  989.                     +===+==+       +========+
  990.                         |Dn
  991.  
  992.     In Step 3, we'll leave the first child card in window 2, and will go to
  993.     window 3 to make the second child card.  As the diagram shows, the
  994.     Homecard in window 1 is "downlinked" to something, the card in window 2 is
  995.     "uplinked" to something and "downlinked" to something else, and the card
  996.     in window 3 is "uplinked" to something.
  997.  
  998.         STEP 3      Window 1       Window 2       Window 3      Window 4
  999.         ======                          |Up            |Up
  1000.                     +======+       +====+===+     +====+===+    empty
  1001.                     | Home |       | Child1 |     | Child2 |
  1002.                     +===+==+       +====+===+     +========+
  1003.                         |Dn             |Dn
  1004.  
  1005.     Finally, in Step 4 we'll end up in window 4 to make yet another card.
  1006.     Trust me, you won't be losing data -- the other cards will really be safe
  1007.     in the other windows, AND you will always have access to each and every
  1008.     one of them in whichever window you happen to be using.
  1009.  
  1010.         STEP 4      Window 1       Window 2       Window 3      Window 4
  1011.         ======                          |Up            |Up           |Up
  1012.                     +======+       +====+===+     +====+===+    +====+===+
  1013.                     | Home |       | Child1 |     | Child2 |    | Child3 |
  1014.                     +===+==+       +====+===+     +====+===+    +========+
  1015.                         |Dn             |Dn            |Dn
  1016.  
  1017.  
  1018.  
  1019.                                       17 
  1020.  
  1021.  
  1022.  
  1023.  
  1024.     As you'll see, the Edit windows give you four different viewports on your
  1025.     electronic book.  This doesn't mean much when your book is just a handful
  1026.     of cards; but when it grows into a complex hypertext network of dozens,
  1027.     hundreds, even thousands of linked cards and graphics, you'll appreciate
  1028.     the ability to have widely separated areas instantly available.
  1029.  
  1030.  
  1031.  Opening Some Doors
  1032.  
  1033.         All right, you're in the Homecard and have typed the lines below:
  1034.  
  1035.                         **  THIS IS THE HOMECARD  **
  1036.  
  1037.                             ...and here is door1 in it.
  1038.  
  1039.     Place the cursor on "door1" and press <Alt-L> to pull down the Link Menu.
  1040.     Press <Enter> to select "Door", meaning a Door link.  The word "door1"
  1041.     will change color and a dialog will pop up; this dialog gives you the
  1042.     opportunity to "resize" the linkword, meaning to extend the colored part
  1043.     left or right, or to retract it.  For now we'll stick to the basics, so
  1044.     just press <Enter> to accept the default size for this linkword.  Next a
  1045.     second dialog pops up, which we'll call the "Jump now?" dialog.  Again,
  1046.     just press <Enter> to accept the default choice, which is to jump to the
  1047.     newly created linked card in window 2.
  1048.  
  1049.         Was that too fast?  (That's the way it should be.)  Look at the
  1050.     diagrams above, and check out the statusbar:  in the "1 2 3 4 V" cluster
  1051.     the number 2 is hilited, meaning that we are now in window 2.  Though
  1052.     you can't see it just now, the Homecard you made is really a Homecard
  1053.     with a link in it, and we have proceeded to Step 2:  the blank card we're
  1054.     looking at is a child card linked to the Homecard.  Type in the following
  1055.     to identify it:
  1056.  
  1057.  
  1058.             This is Child Card 1, directly linked to the Homecard.
  1059.  
  1060.                         ... and here is door2, the second linkword.
  1061.  
  1062.  
  1063.     To carry on to Step 3, place the cursor on "door2" and do exactly as you
  1064.     did above:  press <Alt-L> to open the Link Menu, press <Enter> to select
  1065.     "Door", press <Enter> to accept the default linkword size, and press
  1066.     <Enter> again to accept the default jump choice (to window 3).
  1067.  
  1068.         Now we're in window 3, and once again you may be worrying that
  1069.     you've lost your data.  But you haven't.  Type in the following:
  1070.  
  1071.  
  1072.             This is the second Child Card, and it comes from Child Card 1.
  1073.  
  1074.                         ... and here is door3, the third linkword.
  1075.  
  1076.  
  1077.  
  1078.  
  1079.                                       18 
  1080.  
  1081.  
  1082.  
  1083.  
  1084.     To carry on to Step 4, place the cursor on "door3", press <Alt-L> to open
  1085.     the Link Menu, and press <Enter> three times to accept the default
  1086.     choices.  Finally, type in the following on the new blank card:
  1087.  
  1088.             Believe it or not, this is the third Child Card! 
  1089.  
  1090.  
  1091.  
  1092.  Is Your Data Safe?
  1093.  
  1094.         Time to check up on Orpheus.  I've assured you that your Homecard
  1095.     and the other cards you created are still in their original windows, but
  1096.     now you're going to see for yourself.  Press <Alt-1> to switch to window
  1097.     1:  there is your Homecard.  Press <Alt-2> to switch to window 2:  there
  1098.     is Child 1.  Press <Alt-3> to see window 3, and finally <Alt-4> to return
  1099.     to window 4.  It's all there.
  1100.  
  1101.         This is the way to start every new project in Orpheus:  let your
  1102.     windows fill up, then switch to one where you want to continue working.
  1103.     Each time you open a new link you'll be able to choose where to put the
  1104.     newly-created card for it:  when you press <Enter> in the "Jump now?"
  1105.     dialog you accept the choice made by Orpheus, but to select a different
  1106.     window number you simply press that number or click on it with the mouse.
  1107.  
  1108.  
  1109.  Navigating Hypertext
  1110.  
  1111.         At this point you should be in window 4, as shown in the "1 2 3 4 V"
  1112.     cluster on the statusbar.  And you should be looking at your "Believe it
  1113.     or not" card, child 3.  Now we're going to navigate WITHIN window 4 to
  1114.     demonstrate that the hypertext cards you've made are truly linked
  1115.     together.  To keep things simple we'll just use the keyboard, but later
  1116.     you'll learn to navigate with the mouse as well.
  1117.  
  1118.     *** IMPORTANT *** 
  1119.     Keyboard navigation in OH.EXE is accomplished using the number keypad. If 
  1120.     you have an 84-key keyboard or an XT-class computer, you must turn on 
  1121.     NumLock in order to navigate; otherwise you'll simply move the cursor. 
  1122.  
  1123.         Place your hand on the number keypad (with NumLock ON if necessary)
  1124.     and press <PgUp>.  Now instead of looking at the third child card, you're
  1125.     looking at its parent -- child 2.  Press <PgUp> again, and you're looking
  1126.     at child 1.  Press <PgUp> once again and you're looking at the parent of
  1127.     them all, the Homecard.
  1128.  
  1129.         Now let's navigate downwards.  You should be looking at the Homecard.
  1130.     Check the cursor position:  if it is not on the linkword "door1", press
  1131.     the <Down> arrow on the number keypad to move it there.  Now press
  1132.     <PgDn>, and you will jump to the first child card.  Press <Down> again to
  1133.     put the cursor on the linkword "door2", and again press <PgDn>.  Continue
  1134.     this way until you're back in the last child card.
  1135.  
  1136.  
  1137.  
  1138.  
  1139.                                       19
  1140.  
  1141.  
  1142.  
  1143.  
  1144.         Sum up for a moment what you've learned so far:  <PgUp> jumps you
  1145.     to a card's parent; <Down> moves the cursor to a linkword, as does <Up>;
  1146.     and <PgDn> jumps you to the card that is joined to the linkword at the
  1147.     cursor.  Again, navigation is done only on the number keypad, with NumLock
  1148.     ON if you have an XT-class computer.  To do things like scrolling or
  1149.     moving the cursor in the normal fashion, use the middle keypad or, if
  1150.     you have an XT-class computer, turn NumLock off.
  1151.  
  1152.         Before trying some bigger jumps, let's set a bookmark at the current
  1153.     location, which should still be the last child card.  Using the number
  1154.     keypad's End key, press <Ctrl-End> .  A message will appear for a second
  1155.     or two, saying "Bookmark set".  Now press <Home>, and as you might expect
  1156.     this jumps you to the Homecard.  To return to where you were before, you
  1157.     _could_ navigate down card by card, but since you've set a bookmark
  1158.     there's an easier way:  press <End> on the number keypad, and there you
  1159.     are, back in the last child card.
  1160.  
  1161.  
  1162.  Windows & Navigation
  1163.  
  1164.         Each of the four Edit windows gives you the same navigational freedom
  1165.     as you have just experienced in window 4.  To prove this, press <Alt-1> to
  1166.     switch to window 1, where your Homecard should be waiting.  Now try the
  1167.     same navigational moves:  <Down> to move the cursor to the linkword,
  1168.     <PgDn> to jump through it, <PgUp> to return to the parent, and <Home> to
  1169.     jump to the Homecard.  Notice however that if you press <End> nothing
  1170.     happens; this is because each window has its own bookmark, and you haven't
  1171.     yet set a bookmark in window 1.  Experiment some more by switching to the
  1172.     other Edit windows and navigating up and down.
  1173.  
  1174.         At the moment, with just 4 cards in this miniature book, the ability
  1175.     to have 4 separate viewports on your work may not seem too important.  But
  1176.     wait till you get deeply involved in a real book, with multiple branches
  1177.     and sub-branches.  It's like being a world traveller with houses in Rome,
  1178.     Paris, New York, and Singapore -- or rather, with ONE house whose four
  1179.     doors open onto whatever parts of the world you take them to.
  1180.  
  1181.  
  1182.  Windows & Editing
  1183.  
  1184.         By now you may have noticed that you could easily end up with all four
  1185.     Edit windows holding the same card.  I'd like you to do this now:  switch
  1186.     to each window in turn and press <Home> to load it with the Homecard.
  1187.     What exactly is happening here?  How many copies of that card ARE there?
  1188.     Does Orpheus hold 4 complete copies of the entire book in memory, one
  1189.     in each window?
  1190.  
  1191.         To answer the last question first:  no, Orpheus doesn't need to hold
  1192.     the entire book in memory, because every card contains the embedded data
  1193.     linking it to the rest of the book.  Each window holds just one card at a
  1194.     time.  As for how many copies of a card there may be, in MEMORY there can
  1195.     be up to 4, but on DISK there is only one.
  1196.  
  1197.  
  1198.  
  1199.                                       20 
  1200.  
  1201.  
  1202.  
  1203.  
  1204.         Let's demonstrate this with an experiment.  I'll assume that as
  1205.     instructed above, you've loaded the Homecard in all four Edit windows.
  1206.     Switch now to window 2 if you're not there already, and type a few words,
  1207.     anything you please.  Now switch to window 3 and type something different.
  1208.     Do this again in window 4, again typing something different.  Notice that
  1209.     each time you edit a copy of the card, a bright "*" appears on the 
  1210.     statusbar .  This is the flag to say that the copy of the card in that 
  1211.     window has changed since it was last saved to disk. 
  1212.  
  1213.         To continue the experiment, switch back to window 1 and type, "This
  1214.     is the copy I want to keep."  Check the other windows and verify that in
  1215.     each one you have a different copy of the same card, each still containing
  1216.     whatever changes you made there.  Finally, return to window 1 and press
  1217.     <F2> to save it.  NOW check the other windows and see what has happened!
  1218.     When you saved the copy in window 1, Orpheus updated the other windows to
  1219.     contain the same version.  This is one of several ways in which Orpheus
  1220.     protects you from losing your work.  Here's another one:  still in the
  1221.     Homecard, type some gibberish to make a nice mess; we'll pretend that
  1222.     you've worked on this card for hours and now it's ruined.  Press <Alt-F>
  1223.     to open the File Menu, then press <R> to select "Reread From Disk".
  1224.     This restores your Homecard from the copy you saved.
  1225.  
  1226.  
  1227.  One Step "More"
  1228.  
  1229.         Before concluding this chapter, let's make one more link: specifically,
  1230.     a "More" link.  Switch to window 1 and jump to the Homecard if you are not
  1231.     there already.  Currently the Homecard displays a title followed by a
  1232.     line of text with a linkword in it.  Now, suppose you want your title 
  1233.     screen (the Homecard) to have JUST the title, with perhaps a nice drawing 
  1234.     and your name.  Suppose too that you want that line of text to become a 
  1235.     couple of paragraphs, even a menu -- something in any case that would not 
  1236.     be very effective on your title screen.  We're going to see how Orpheus 
  1237.     gives you the flexibility to change and extend your hypertext without 
  1238.     starting over.  We'll do this by creating a new linked card and 
  1239.     automatically transferring the line of text, together with its linkword, 
  1240.     onto that card -- all in one step. 
  1241.  
  1242.         Currently we have this:       And it's going to become this:
  1243.  
  1244.                  +==========+                 +==========+
  1245.                  | Homecard |                 | Homecard |
  1246.                  |  door1   |                 |  "More"  |
  1247.                  +====|=====+                 +====|=====+
  1248.                  +====|=====+                 +====|=====+
  1249.                  | Child 1  |                 | new card |
  1250.                  |  door2   |                 |  door1   |
  1251.                  +====|=====+                 +====|=====+
  1252.                                               +====|=====+
  1253.                                               | Child 1  |
  1254.                                               |  door2   |
  1255.                                               +====|=====+
  1256.  
  1257.  
  1258.  
  1259.                                       21 
  1260.  
  1261.  
  1262.  
  1263.  
  1264.         To begin, place the cursor on the line of text with the linkword,
  1265.     i.e. anywhere on "...and here is door1 in it."  Now press <Alt-L> to
  1266.     open the Link Menu and select "Split", because we're going to "split"
  1267.     the Homecard.  A submenu opens with three options:  Above, Below, and
  1268.     At the Cursor.  Press <C> to select "At the Cursor".  This tells
  1269.     Orpheus not only to split the Homecard, but to take ALL text from the
  1270.     cursor on down and move it to the new card along with whatever embedded
  1271.     links it may contain.
  1272.  
  1273.         You'll notice that this time there isn't a dialog asking if you wish
  1274.     to resize the linkword; the reason for this will become clear in a moment.
  1275.     The familiar "Jump now?" dialog does come up however, and this time I'd
  1276.     like you to press <1> to ensure that you jump to the new card without
  1277.     switching windows -- just so you'll know that you can do it.
  1278.  
  1279.         What has happened?  The line "...and here is door1 in it" is now in
  1280.     a new card all by itself.  To find out what happened to the Homecard,
  1281.     press <PgUp> or <Home>.  As you can see, an additional change has
  1282.     occurred:  not only is "THIS IS THE HOMECARD" all by itself, but there
  1283.     is a "More" flag on the statusbar.  As I explained in the previous
  1284.     chapter, this means that the Homecard has a "More" link, which would
  1285.     appear to the reader as the word "=More=" in the lower right corner.
  1286.  
  1287.         In the Orpheus Reader the "=More=" flag works just like a linkword,
  1288.     meaning that you can jump through it by clicking on it, or by moving the
  1289.     selection bar to it and pressing <Enter>.  In OH.EXE we use the <Right>
  1290.     arrow key for this purpose (as always, on the number keypad), or you can
  1291.     click on the word "More" on the statusbar.  Try this now.
  1292.  
  1293.  
  1294.  Behind The Scenes
  1295.  
  1296.         In this chapter you have seen how easy it is to make hypertext in
  1297.     Orpheus.  You didn't have to type in any filenames or special codes, you
  1298.     didn't have to do any programming; yet somehow links got made, and
  1299.     apparently something got written to disk.  Orpheus frees you from having
  1300.     to think about the mechanics of hypertext.  Even so, you should probably
  1301.     have some idea of how Orpheus manages your hypertext cards.  Here's what
  1302.     went on behind the scenes:
  1303.  
  1304.         (1) When you made that first link in your Homecard, Orpheus took the
  1305.     filename you gave it, "TEST", and created a *project* directory named
  1306.     after it but with an underscore as the last character.  If your Orpheus
  1307.     directory is C:\ORPHEUS, this resulted in C:\ORPHEUS\TEST_.  Orpheus then
  1308.     went on to create the first *storage* directory in the project directory,
  1309.     giving it the name D1 (for "directory #1"):  C:\ORPHEUS\TEST_\D1.
  1310.  
  1311.         (2) With the directories in place, Orpheus made a file for the new
  1312.     blank card, giving it a name drawn from the linkword, "door1", followed by
  1313.     an extension representing the number of that link.  The new file, empty
  1314.     except for the information linking it to the Homecard, was thus named
  1315.     DOOR1.000 and written to disk in the C:\ORPHEUS\TEST_\D1 directory.
  1316.  
  1317.  
  1318.  
  1319.                                       22
  1320.  
  1321.  
  1322.  
  1323.  
  1324.         (3) Orpheus then embedded the same link number in the Homecard, added
  1325.     some other data, and immediately wrote to disk the file TEST in your
  1326.     working directory, C:\ORPHEUS.  Note the pattern here:  the Homecard is
  1327.     the only file you need to "know about", and it remains in your working
  1328.     directory where you can find it easily.  All cards (files) linked to the
  1329.     Homecard are stored off a subdirectory named after the Homecard, and you
  1330.     can leave the management of them entirely up to Orpheus -- even when it
  1331.     comes time to delete them (see "Erase Project" on the Project Menu).  You
  1332.     can have as many electronic books on the go as you wish, each one having
  1333.     its Homecard in your working directory; the cards in one book never get
  1334.     mixed up with the cards from another.
  1335.  
  1336.         (4) Lastly, Orpheus wrote to disk a file called TEST.LST, the "list
  1337.     file" of the Test project.  Though list files are always the same size, 
  1338.     they are updated whenever you create or delete a card, and they help 
  1339.     Orpheus track up to 32,000 linked cards. With each of the other links you 
  1340.     made in this tutorial, Orpheus again wrote to disk the new blank card, the 
  1341.     card containing the link, and the updated list file. 
  1342.  
  1343.         What happens when a book gets really big?  Do all those cards go into
  1344.     the D1 directory?  And what about when you finish a book and want to
  1345.     distribute it to readers -- do THEY have to worry about a thousand
  1346.     separate card files?  No.  When Orpheus compiles your book (see the
  1347.     Project Menu) it compresses it into a small number of special files.  Each 
  1348.     book consists of one file with the HTX extension, plus one or more 
  1349.     numbered data files containing your cards in compressed form.  As for the 
  1350.     previous question, when the "D1" directory holds 100 cards Orpheus will 
  1351.     create a second storage directory named "D2", and so on up to D320 for a 
  1352.     maximum capacity of 32,000 cards per book.  (Note however that books
  1353.     can be linked to *other* books.  See the load() command in MANUAL2.DOC.)
  1354.  
  1355.  
  1356.  When We Return...
  1357.  
  1358.         Let's end this tutorial and leave your work so that you can come back
  1359.     to it later.  (Even if you're gung-ho to work right through, follow these
  1360.     instructions and then reload the program as described below.)  To make
  1361.     the project look a little more realistic, switch to the other 3 Edit
  1362.     windows and make sure they all contain different cards.  For example,
  1363.     leave window 1 containing the Homecard, and window 2 containing the line
  1364.     with "door1".  I'd like you to end up in window 2 before we quit, because
  1365.     there's something I want to demonstrate.
  1366.  
  1367.         All set?  Press <Alt-F> to open the File Menu, then press <X> to
  1368.     quit the program.  (You could also just press <Alt-F4>.)  You'll notice
  1369.     one final bit of disk activity, which is Orpheus saving a file named
  1370.     TEST.PRJ.  For each electronic book you work on, Orpheus creates a
  1371.     "project" file named after the Homecard and with a ".PRJ" extension.
  1372.     This file records all of your option-settings for that book, as well as
  1373.     the "state" of the project when you were last in it:  the contents of the
  1374.     four Edit windows, and which window you were in when you quit.
  1375.     
  1376.  
  1377.  
  1378.  
  1379.                                       23
  1380.  
  1381.  
  1382.  
  1383.  
  1384.         When you return to your "TEST" book in the next tutorial, you will
  1385.     again start up Orpheus with the name of the book at the DOS prompt:
  1386.  
  1387.             OH TEST
  1388.  
  1389.     This time, Orpheus will detect the existence of your book and will load
  1390.     the four Edit windows exactly as you left them.  If you were in window 2
  1391.     when you quit, you'll find yourself there again when you return.
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.                                       24 
  1440.  
  1441.  
  1442.  
  1443.  
  1444.   ---------------------------------------------------------------------------
  1445.                   CHAPTER 4  -  TUTORIAL : FLEXIBLE HYPERTEXT
  1446.   ---------------------------------------------------------------------------
  1447.  
  1448.  
  1449.  
  1450.  Topics in this chapter:  Importing Text
  1451.                           Moving Links
  1452.                           Splitting
  1453.                           Designating Home
  1454.                           Crosslinks & Retrace
  1455.                           Resizing Linkwords
  1456.                           Changing Link Types
  1457.                           Unlinking
  1458.                           Recovering
  1459.  
  1460.  
  1461.  
  1462.         In this chapter we'll continue with the test book begun in the
  1463.     previous chapter.  Load it with the same command at the DOS prompt that
  1464.     you used before:  "OH TEST" <Enter>.  You should find yourself in the
  1465.     same Edit window as the one you were in when you quit, with all windows
  1466.     loaded the way you left them.
  1467.  
  1468.  
  1469.  Importing Text
  1470.  
  1471.         Orpheus makes it easy to write directly in hypertext -- but doesn't
  1472.     oblige you to do so if you would rather use text from external files.
  1473.     As long as your text is in plain ascii form (without special formatting
  1474.     codes from a word processor) you can import it chunk by chunk into your
  1475.     hypertext cards.  Some word processors normally save files in the plain
  1476.     text form required by Orpheus; an example is PC-Write, which only inserts
  1477.     formatting codes if you tell it to, and also lets you remove them.  Other
  1478.     word processors normally save files in a proprietary format in which the 
  1479.     text is interspersed with formatting codes.  The better ones allow you to 
  1480.     save a copy of a file without these codes, referring to this as "text", 
  1481.     "ascii", or "non-document" mode; an example is WordPerfect. 
  1482.  
  1483.         To view an external file in Orpheus, use the FileView window; this is
  1484.     represented by the "V" in the "1 2 3 4 V" cluster on the statusbar.
  1485.     FileView does not permit any editing of the files you load in it; what it 
  1486.     does do is let you capture chunks of text (up to 23 lines at a time) and 
  1487.     import them into your work. 
  1488.  
  1489.         You can open FileView through the Window Menu, but there are a couple
  1490.     of faster ways:  press <Alt-V>, or just click the left mouse button on
  1491.     the "V" on the statusbar.  Do this now to begin the tutorial.  Since
  1492.     nothing is loaded there yet, a dialog appears asking you to enter a
  1493.     filename.  If you wish, you can press <F8> to get a directory listing, or 
  1494.     enter "manual1.doc" -- the name of the Orpheus User's Guide.  In what 
  1495.     follows I'll assume that this is what you're using. 
  1496.  
  1497.  
  1498.  
  1499.                                       25
  1500.  
  1501.  
  1502.  
  1503.  
  1504.         When the file is loaded, experiment to see how you can scroll up and
  1505.     down to read it.  Since you're not in an Edit window, you can use the
  1506.     keys of the number keypad if you wish.  Mouse-users can click on the
  1507.     symbols on the command bar at the bottom.  Press <F1> for context-
  1508.     sensitive help on how to use FileView.
  1509.  
  1510.         In a moment we'll mark a block of text in MANUAL1.DOC and paste it into
  1511.     one of your hypertext cards.  Let's switch back to the Edit window you
  1512.     were in to see if the card we want is loaded.  <Alt-V> got you into
  1513.     FileView and will also get you out of it, but as you can see at the
  1514.     bottom of the screen, you can also press <R> or click on the "Return"
  1515.     command.  Back in the Edit window, are you looking at the card with the
  1516.     line "and this is door1 in it"?  If not, navigate to it as you learned
  1517.     in the previous chapter, using the number keypad or the mouse.
  1518.  
  1519.         Now switch back to FileView and page down to the Table of Contents,
  1520.     far enough to place the topic list for Chapter 1 in the middle of the
  1521.     screen.  We'll pretend that this will be the Main Menu for an electronic
  1522.     book.  We'll mark those lines, return to the Edit window, and paste them
  1523.     in.  I'll show you the keyboard method first, then the mouse method; as
  1524.     part of the exercise we'll find out how text marked in FileView is treated
  1525.     when we paste it into an Edit window.
  1526.  
  1527.  
  1528.         KEYBOARD METHOD - MARKING IN FILEVIEW
  1529.         Notice that the cursor is at the far left of line 1.  Assuming that
  1530.         the lines you wish to mark are in the middle of the screen, you'll
  1531.         want to move the cursor down.  In FileView the up/down arrow keys do
  1532.         double duty, moving the cursor as far as the top and bottom lines,
  1533.         then scrolling the text.
  1534.  
  1535.         After moving the cursor to the line beginning "Chapter 1", press <F3>
  1536.         to start marking (or any other key that you would use for marking in
  1537.         an Edit window).  Move the cursor to the last line of the contents of
  1538.         Chapter 1, and press <F3> again to finish marking.
  1539.  
  1540.  
  1541.         MOUSE METHOD - MARKING IN FILEVIEW
  1542.         With the mouse pointer on the line beginning "Chapter 1", press and
  1543.         hold down the right mouse button to start marking.  Keeping the button
  1544.         depressed, drag the pointer to the last line of the contents of
  1545.         Chapter 1, then release the button to finish marking.
  1546.  
  1547.  
  1548.         With the marked block ready, press <R> or <Alt-V> (or click on
  1549.     "Return") to return to the current Edit window.  Just to demonstrate what
  1550.     you can do, we'll pretend to paste the block into the middle of your line
  1551.     of text.  KEYBOARD METHOD: move the cursor into the middle of the line of
  1552.     text, then press <F3> to paste.  MOUSE METHOD: move the mouse pointer to
  1553.     the middle of the line of text and click the left button to paste.
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.                                       26
  1560.  
  1561.  
  1562.  
  1563.  
  1564.         Notice that instead of being dissected by the inserted block, the line
  1565.     on which you placed the cursor was simply pushed down by it.  This is
  1566.     because blocks marked in FileView are treated as whole lines.  In other
  1567.     words, FileView marking is done in "line mode", which we'll discuss in the
  1568.     next chapter.  Press <F2> to save.
  1569.  
  1570.         With a little practice you'll find that by using FileView and the 
  1571.     techniques shown above, you can rapidly convert an ordinary file into 
  1572.     hypertext.  An even faster method is to use the AutoMark button on the 
  1573.     command bar, which instantly marks all 23 lines onscreen.  Use the Up/Down 
  1574.     arrow keys to reduce an AutoMarked block, and PgUp/PgDn to restore it.  
  1575.     AutoMark also lets you use AutoMORE, which is discussed in online Help. 
  1576.  
  1577.  
  1578.  Moving Links
  1579.  
  1580.         The line with "door1" looks rather out of place just now, so let's
  1581.     move it somewhere else.  We'll pretend that after making a quick start
  1582.     on our book we've had enough time to think about how it should be
  1583.     organized, necessitating some changes.  This isn't the best way to work,
  1584.     but let's face it -- no matter how much planning you do, inevitably you'll
  1585.     want to move things around.  Orpheus lets you do it without hassle.
  1586.  
  1587.         We'll pretend that "door1" is really a topic you want to discuss under
  1588.     "Quickstart".  This means we need to open a link off "Quickstart" and then
  1589.     move the line with "door1" to it -- not just the words, but the embedded
  1590.     link as well.
  1591.  
  1592.         First, place the cursor on the word "Quickstart" and open a Door link
  1593.     as you did in the previous chapter:  press <Alt-L> to open the Link Menu,
  1594.     press <Enter> to choose the "Door" link type, and press <Enter> again to
  1595.     accept the default size for the linkword.  At the "Jump now?" dialog,
  1596.     select a window number *other than* the current window.  When you are in
  1597.     the new blank card, switch back to the window you started from.  (The fast
  1598.     way to do this is by pressing <Ctrl-V>.)
  1599.  
  1600.         You should now be looking at the topic list for Chapter 1, in which
  1601.     the word "Quickstart" is a linkword.  Below the list is the line "and this
  1602.     is door1 in it".  We're going to move that line, together with its
  1603.     embedded link, to the card you just created.  Place the cursor anywhere on
  1604.     that line and press <F7> to start marking in line mode.  Without moving
  1605.     the cursor, press <F7> again to finish the mark on that line.  Now switch
  1606.     back to the window with the new card and press <F6> to MOVE the marked
  1607.     line from its original location to the new one.
  1608.  
  1609.         Something extra happened:  after you pressed <F6>, Orpheus posted a 
  1610.     message saying "Verifying chain of links."  Then there was a bit of disk 
  1611.     activity.  This was because your marked block contained an embedded link, 
  1612.     so in moving it to another card you were in effect "pruning and grafting" 
  1613.     -- like cutting a branch off a tree and inserting it somewhere else.  
  1614.     Before letting you do this Orpheus made sure that it would not break the 
  1615.     chain of links connecting every card to the Homecard. 
  1616.  
  1617.  
  1618.  
  1619.                                       27
  1620.  
  1621.  
  1622.  
  1623.  
  1624.         Navigate up and down a few steps to verify that the link itself was
  1625.     really moved.  To summarize, here are some points to remember with regard
  1626.     to moving embedded links:  (1) both cards involved in the move must be
  1627.     loaded simultaneously in separate Edit windows; (2) you can use any
  1628.     marking mode; (3) it's safe: if you attempt a move that would disconnect
  1629.     a branch from the Homecard, Orpheus will discover the danger and abort the
  1630.     procedure.
  1631.  
  1632.  
  1633.  Splitting
  1634.  
  1635.         In the previous chapter we used the "Split" command on the Link Menu,
  1636.     mainly in order to show you what a More link looked like.  You'll recall
  1637.     that we used the subcommand "Split At Cursor", which simultaneously
  1638.     created a new card and moved some text to it -- our ill-treated line with
  1639.     "door1" in it.
  1640.  
  1641.         Now we'll use another variation of splitting to demonstrate the
  1642.     versatility of this feature.  Press <Home> or navigate up to the Homecard,
  1643.     then press the <Right> arrow or click on "More" to jump down a step.
  1644.     This should bring you to the card with the contents of Chapter 1, which
  1645.     is our make-believe Main Menu for a vast electronic book.  Let's pretend
  1646.     that you wish you could insert something _between_ these two cards:  say,
  1647.     an epigraph, acknowledgements, or a copyright notice.  Wish no more...
  1648.  
  1649.         Open the Link Menu and select "Split", but this time select "Above
  1650.     This Card".  At each dialog press <Enter> until the process is complete,
  1651.     which should leave you at the new blank card that has been created.  Now
  1652.     press <Alt-V> to switch to the FileView window.  Page up until you find
  1653.     one of the paragraphs on the first page of the manual; the one beginning
  1654.     "Orpheus makes you a master of hypertext" is suitable.  Mark the paragraph
  1655.     as you did before, then return to the Edit window and paste it wherever
  1656.     you wish with <F3> or the mouse method.
  1657.  
  1658.         Now jump to the Homecard and work your way down, see how it feels.
  1659.     The important thing here is that we've replaced the infinite linear 
  1660.     extensibility of conventional text with something better.  You don't have 
  1661.     to feel cramped by the dimensions of the screen or of a card, yet you 
  1662.     don't have to resort to scrolling files.
  1663.  
  1664.  
  1665.  Designating Home
  1666.  
  1667.         Navigate to the card with the contents of Chapter 1.  Imagine again
  1668.     that this is your Menu, through which readers will pass to all the
  1669.     different branches of your book.  Now think of yourself as a reader,
  1670.     exploring a branch all the way to the end; at some point, and this may
  1671.     happen repeatedly, you'll want to jump back to the beginning in order
  1672.     to set off down a different path.  This means pressing <Home> of course,
  1673.     which currently takes you to the Homecard.  But it makes no sense to keep
  1674.     jumping to the Homecard if all it has is a More link followed by another
  1675.     More before you get to the menu again.
  1676.  
  1677.  
  1678.  
  1679.                                       28
  1680.  
  1681.  
  1682.  
  1683.  
  1684.         This is why Orpheus lets you designate a card other than the Homecard
  1685.     to be the destination of a jump Home.  Press <Alt-P> to open the Project
  1686.     Menu; notice that the field opposite "Designated Home" says "None".
  1687.     Select this option now, and when Orpheus asks whether you wish to use this
  1688.     card as the Homecard, press <Enter> to answer Yes.  From now on, whenever
  1689.     you open the Project Menu the field will say "Here" when you are in the
  1690.     Designated Home card, or "Yes" when you are in any other card.
  1691.  
  1692.         To test the new setting, navigate down through all the links you can
  1693.     find, then press <Home>.  You should jump to the card with the contents
  1694.     of Chapter 1.  If you press <Home> again however you'll jump to the real
  1695.     Homecard, while doing so again will take you back to Designated Home.
  1696.     This feature and the next one help you make hypertext navigation more
  1697.     natural and meaningful to your readers.
  1698.  
  1699.  
  1700.  Crosslinks & Retrace
  1701.  
  1702.         So far, all of the links you have made have had a "child" relationship
  1703.     with the cards in which you made them.  Whether you jumped through a
  1704.     linkword or a More, pressing <PgUp> would always take you back to where
  1705.     you began by following the chain of "parent" cards.  Crosslinks introduce
  1706.     a new factor; because they join *existing* cards, a jump through a
  1707.     crosslink cannot be reversed by pressing <PgUp>.  For this reason Orpheus
  1708.     maintains a record of your steps in all directions -- down, up, and
  1709.     crossways -- and allows you to retrace as many of your steps as are in
  1710.     the record.  When you reach the end of the record Orpheus gives a
  1711.     "click" (a "bonk" on slow machines).  On the number keypad the <Left>
  1712.     arrow gives the Retrace command; its mouse equivalent is the U-turn symbol
  1713.     on the statusbar.
  1714.  
  1715.         In OH.EXE there is a separate Retrace buffer in each Edit window,
  1716.     each one large enough to record your last 50 steps.  The Orpheus Reader
  1717.     has a single Retrace buffer that records your last 100 steps.  Since the
  1718.     Reader uses the arrow keys to give more subtle control over the movement
  1719.     of the selection bar (side to side as well as up and down), retracing with
  1720.     the keyboard in that program is done with the <Backspace> key.
  1721.  
  1722.         Before we get into making a Crosslink, let's consider how Crosslinks
  1723.     might affect the quality of your hypertext -- the impact they might have
  1724.     on your reader.  Suppose a certain topic is discussed thoroughly on one
  1725.     particular card.  Suppose further that you refer to that topic in passing
  1726.     on many other cards.  At first glance it might seem reasonable to open a
  1727.     Crosslink on each of those references, so that the reader can jump from
  1728.     any of them to the card where it is discussed.  But let's suppose further
  1729.     that you have many such topics, and that on any given card you might see a
  1730.     scattering of linkwords, some pointing to unique material, others pointing
  1731.     through Crosslinks to cards that the reader may have visited already.
  1732.  
  1733.         Such hypertext quickly begins to feel like spaghetti.  Where
  1734.     Crosslinks are numerous you can't expect the reader to remember which ones
  1735.     he has taken (and should therefore ignore) and which he has not.  Every
  1736.  
  1737.  
  1738.  
  1739.                                       29
  1740.  
  1741.  
  1742.  
  1743.  
  1744.     linkword is like a doorway beckoning, "Enter here!"  If the reader
  1745.     repeatedly responds to the invitation, only to find himself in a place
  1746.     he's been already, he will become frustrated and bored, mistrustful even
  1747.     of linkwords that lead to something new.
  1748.  
  1749.         My advice is therefore to use Crosslinks sparingly.  But if they were
  1750.     entirely bad they wouldn't be on the menu, so let's see how to make one
  1751.     in a situation that makes sense.
  1752.  
  1753.         Navigate from the Chapter 1 card through the "Quickstart" linkword.
  1754.     Though all we see is that poor forlorn "door1" we'll pretend that this
  1755.     card is yet another menu.  (To make this more believable, type in
  1756.     "Variations on Quickstart".  Not much more believable than a paid
  1757.     political advertisement, but cheaper.)
  1758.  
  1759.         The idea here is that you've organized a large amount of information
  1760.     so that the reader can find just about anything with three or four clicks
  1761.     of the mouse:  each item on the Main Menu leads to a submenu, which may
  1762.     in turn lead to deeper submenus.  Now, in the same way that it is useful
  1763.     to designate the Main Menu as Home, you may find it useful to let the
  1764.     reader jump from a location at the end of a branch to a particular
  1765.     submenu, or the *beginning* of that branch.  This is one good use for a
  1766.     Crosslink -- to return quickly from the end of a branch to its beginning.
  1767.  
  1768.         Leaving the Quickstart card where it is, switch to a different Edit
  1769.     window and navigate down as far as you can go -- i.e. to a card that
  1770.     is a few levels down from Quickstart but on the same branch.  (As you will
  1771.     see, there is a reason for doing this in another window.)  Move the cursor
  1772.     down to within a few lines of the bottom, then type, "Return to
  1773.     Quickstart".  We're going to make a Crosslink on that, and point the link
  1774.     back to you know where.
  1775.  
  1776.         Now open the Link Menu and select "Crosslink".  A submenu will open,
  1777.     from which you should select "One-Way Crosslink" (I'll explain this in
  1778.     a moment).  Now Orpheus asks you which window contains the OTHER card,
  1779.     meaning the one to which the Crosslink should point.  Notice that the
  1780.     hilited window-number is that of the last window you were in, which should
  1781.     be where you left the Quickstart card; press <Enter> if it is.  The next
  1782.     step is to select a linkword, and for Crosslinks Orpheus lets you move
  1783.     the cursor around instead of automatically taking the word at the cursor.
  1784.     (The prompt for this mentions the "1st" linkword because a Two-Way
  1785.     Crosslink requires two -- one in each card.)  Place the cursor on "Return"
  1786.     and press <Enter>, then press <Enter> again to accept the default linkword
  1787.     size.  This completes the procedure.
  1788.  
  1789.         Test your Crosslink by jumping through "Return".  As you'll see, the
  1790.     only way to retrace the jump (in one step) is to press the <Left> arrow
  1791.     or click on the U-turn symbol on the statusbar.
  1792.  
  1793.         If you think about it, you can see why a One-Way Crosslink is
  1794.     appropriate for the situation in the example.  A Two-Way Crosslink would
  1795.     result in each card having a Crosslink pointing to the other, which in
  1796.  
  1797.  
  1798.  
  1799.                                       30
  1800.  
  1801.  
  1802.  
  1803.  
  1804.     this case would make no sense, though in others it might.  While Two-Way
  1805.     Crosslinks may at first glance seem "friendlier" (since they provide an
  1806.     obvious return instead of requiring a Retrace command), they could also
  1807.     lead to an unnecessary proliferation of linkwords.  If you must use
  1808.     Crosslinks, use them judiciously!
  1809.  
  1810.  
  1811.  Resizing Linkwords
  1812.  
  1813.         Throughout these tutorials I've kept things simple by having you
  1814.     accept the default options during linkmaking.  This is the same approach
  1815.     you'll take when ideas are coming fast and furious and you don't have time
  1816.     to worry about details.  Now and then however, as you go over your work
  1817.     looking for areas to revise or expand on, you'll notice a detail that
  1818.     deserves an extra touch:  the size of a linkword.  Linkwords can in fact
  1819.     be "link phrases", meaning that they can include several words; the only
  1820.     thing they can't do is extend to another line.
  1821.  
  1822.         A good candidate for resizing is the Crosslink you just made.
  1823.     Navigate to it now if you are not there already, and press <Down> to
  1824.     place the cursor on the linkword.  Now open the Link Menu and select
  1825.     "Resize a Linkword".  From this point on the procedure is identical to
  1826.     what you would do if you chose to resize while actually creating the
  1827.     original link.  (By the way, though the dialog doesn't say so you can
  1828.     get Help on what to do by pressing <F1>.)
  1829.  
  1830.         In this case it would be nice to expand the linkword to the right,
  1831.     so that instead of just "Return" it would be "Return to Quickstart".
  1832.     Before doing this however, there is an important point to consider
  1833.     regarding colors.  Color attributes consist of both a foreground and a
  1834.     background.  If the background attribute of a link color is DIFFERENT
  1835.     from the background of normal text, a space is plainly visible; but if
  1836.     the two backgrounds are IDENTICAL, a space in "link color" looks the same
  1837.     as one in normal text color.  Keep this in mind whenever you resize a
  1838.     linkword.  Unless you can tell when resizing has extended to a space, it
  1839.     is easy to leave the linkword lopsided. In your own color scheme you can't
  1840.     see it, but hundreds of readers with other color schemes surely will!
  1841.  
  1842.  
  1843.         KEYBOARD METHOD - RESIZING
  1844.         Press <E> for "Expanding".  Now press and release the <Right>
  1845.         arrow key repeatedly to extend the hilite one space at a time
  1846.         toward the right.  If you go too far, press <S> for Shrinking and
  1847.         again use the right arrow to retract from the right.  (The right
  1848.         arrow affects the right side of the linkword, the left arrow
  1849.         affects the left side.)  Press <Enter> when done.
  1850.  
  1851.  
  1852.         MOUSE METHOD - RESIZING
  1853.         Click the left button on the "Expanding" command.  Now move the
  1854.         mouse pointer away from both commands and click the right button
  1855.         repeatedly to extend the hilite one space at a time to the right.
  1856.  
  1857.  
  1858.  
  1859.                                       31
  1860.  
  1861.  
  1862.  
  1863.  
  1864.         If you go too far, click on the "Shrinking" command, move the
  1865.         pointer away from both commands and again use the right button to
  1866.         retract from the right.  (The right button affects the right side
  1867.         of the linkword, the left button affects the left side.)  When the
  1868.         linkword is the desired sized, click on the "Enter" command.
  1869.  
  1870.  
  1871.     To reduce the risk of error, consider setting your colors so that
  1872.     linkwords are clearly distinct from normal text.  (To change your colors,
  1873.     open the Options Menu, select "Screen", then "Colors".)
  1874.  
  1875.  
  1876.  Changing Link Types
  1877.  
  1878.         Before proceeding with this part of the tutorial, you may wish to
  1879.     read about the 7 different link types available in Orpheus.  They are
  1880.     thoroughly discussed in online Help so I will not describe them here.
  1881.     (Look in Help under "About Hypertext" => "Link Types".)
  1882.  
  1883.         With certain restrictions it is possible to change a link from one
  1884.     type to another.  Action, Init, Graphic links, and Crosslinks CANNOT be
  1885.     changed to another type, for reasons that become apparent when you
  1886.     understand what they are.  This leaves Door, Note, and More links, which
  1887.     CAN be changed.
  1888.  
  1889.         The commonest motive for changing a link's type involves the
  1890.     difference between Door and Note links.  Doors are the "normal" link types
  1891.     in Orpheus, while Notes are intended to suggest a more detailed level of
  1892.     information.  Another use of Notes is provided by the "Include Notes"
  1893.     option on the Project Menu:  if this option is turned off (so that the
  1894.     field is blank), when you compile your book it will not include any trace
  1895.     of Note links or of the cards descending from them.  (Compilation does not
  1896.     affect your working copy of the book, where the Notes are left intact.)
  1897.  
  1898.         This lets you use Note links for your "working notes" during
  1899.     composition, or more importantly, lets you release different versions of
  1900.     your book.  For example, suppose a client calls, wanting you to send over
  1901.     a disk with your work in progress; some major bucks depend on making a
  1902.     good impression, and you're confident that most of the book will do just
  1903.     that.  BUT, one branch near the beginning is still in rough shape, and
  1904.     you'd hate for your client to see that.  Solution: turn the Door link at
  1905.     the top of the branch into a Note, de-select Include Notes, and recompile.
  1906.     (Another method is to Unlink the branch, as discussed on the next page.)
  1907.  
  1908.         Let's change a link type now to see how easy it is.  Navigate to the
  1909.     card with the unfortunate "door1" in it, and place the cursor on that
  1910.     linkword.  Open the Link Menu and select "Change Link Type".  A dialog
  1911.     pops up, in which you'll select "Linkword at Cursor".  This is followed
  1912.     by another dialog giving you the choice of changing it to a Door, Note,
  1913.     or More link.  Select "Note" in this case.  That's all there is to it!  If
  1914.     you change your mind later you can change the link type back again.
  1915.  
  1916.  
  1917.  
  1918.  
  1919.                                       32
  1920.  
  1921.  
  1922.  
  1923.  
  1924.  Unlinking
  1925.  
  1926.         Among the many ways you can revise your work in Orpheus, one of the
  1927.     most powerful is the ability to remove a card, or even a whole branch of
  1928.     cards, from your hypertext network -- and do so either temporarily or
  1929.     permanently.  This is called Unlinking, and it comes in two flavors
  1930.     depending on the fate intended for the attached card.  If you choose to
  1931.     "Orphan" it the card remains on your hard disk, with a slight change to
  1932.     its filename so that Orpheus can recover it for you later if need be. If
  1933.     you choose to "Delete" it the card is really deleted, and even if you
  1934.     retrieve the file with an Undelete utility there is no easy way to relink
  1935.     it to your hypertext.
  1936.  
  1937.         Actually there is a third flavor of Unlinking:  when you unlink a
  1938.     Crosslink the only change is to the linkword, which loses its embedded
  1939.     link data and returns to normal text.  The linked card is unaffected,
  1940.     except when you have a Two-Way Crosslink, in which case you are given the
  1941.     option of automatically unlinking the other card's Crosslink as well.
  1942.  
  1943.         All links can be Unlinked, but not all can be deleted.  As a safety
  1944.     measure, Orpheus does not let you delete a card that has child links of
  1945.     its own; such a card can only be orphaned.  Let's try this now, and in the
  1946.     next section we'll use the Recover command.
  1947.  
  1948.         Navigate to the card with "door1" and place the cursor on the
  1949.     linkword.  It's time to put it out of its misery.  Open the Link Menu and
  1950.     select "Unlink".  From the ensuing dialog, select "Linkword at Cursor".
  1951.     From the next dialog, select "Orphan".  That's all there is to it.
  1952.     However, you may wish to revise the text to read, "Door1 is no longer in
  1953.     service.  Have a nice day!"
  1954.  
  1955.  
  1956.  Recovering
  1957.  
  1958.         As long as an unlinked card is not deleted, you can easily recover and
  1959.     relink it.  If you have unlinked many cards you may wish to simply browse
  1960.     them at some point to see if there are any you want back; note however
  1961.     that there is no way to browse the *descendants* of an orphaned card
  1962.     without first relinking it.
  1963.  
  1964.         When you know you want to relink an orphaned card, the first thing to
  1965.     do is to navigate to the card *to which* you wish to relink it -- before
  1966.     opening the Recover dialog.  For the next exercise we'll assume that you
  1967.     are still in the card where you unlinked "door1".
  1968.  
  1969.         Open the Link Menu and select "Recover Orphan".  The Recover dialog
  1970.     displays two lists:  in one box, the list of storage directories for your
  1971.     book, and in the other box the list of orphans found in the currently
  1972.     hilited directory.  At the moment only 1 directory exists, "D1", and it
  1973.     should contain only 1 orphan, which is probably named "DOOR{.000".  The
  1974.     "{" character in the filename is what marks it as an orphan.
  1975.  
  1976.  
  1977.  
  1978.  
  1979.                                       33
  1980.  
  1981.  
  1982.  
  1983.  
  1984.         When there is more than one directory you can scroll through the
  1985.     directories using the PgUp/PgDn keys.  When there is more than one orphan
  1986.     in the listed directory you can scroll through the filenames using the
  1987.     Up/Down arrow keys.
  1988.  
  1989.         Since you've had a change of heart about door1, press <L> to relink
  1990.     it right away.  A dialog appears with a choice of link types; select
  1991.     "Door" to give it its old job back.  Next a prompt appears on the top
  1992.     line, asking you to select a linkword to anchor the link.  Assuming
  1993.     you followed my advice at the end of the previous exercise, move the
  1994.     cursor to the word "service", then press <Enter>.  (We'll be sensible
  1995.     and make it a service door.)  Now the familiar Resize dialog appears,
  1996.     and in this case you can just press <Enter> again.
  1997.  
  1998.         Done!
  1999.  
  2000.         Normally you would relink an orphan to its original linkword in the
  2001.     original parent card; however, nothing obliges you to do so.  As a matter
  2002.     of fact, relinking to a different card, perhaps in a completely different
  2003.     part of your work, is an effective method of pruning and grafting when all
  2004.     you want to move is the link and not the text.
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.  
  2021.  
  2022.  
  2023.  
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033.  
  2034.  
  2035.  
  2036.  
  2037.  
  2038.  
  2039.                                       34
  2040.  
  2041.  
  2042.  
  2043.  
  2044.   ---------------------------------------------------------------------------
  2045.                 CHAPTER 5  -  TUTORIAL : COMPLETING A PROJECT
  2046.   ---------------------------------------------------------------------------
  2047.  
  2048.  
  2049.  
  2050.  Topics in this chapter:  Sweating The Details
  2051.                               Copyright
  2052.                               Cardlength
  2053.                               Full Title
  2054.                               Include Notes
  2055.                               Your Colors
  2056.                               Graphic Titlebar
  2057.                               Check the "More" Corner
  2058.                               Check the Frame
  2059.                               "Check Card" Command
  2060.                               Check Linkwords
  2061.                               Use Tour Mode
  2062.                           Compiling Your Project
  2063.                           Distributing Your Work
  2064.                           The Orpheus Reader
  2065.                           Cleaning Up
  2066.  
  2067.  
  2068.         Though there remain many aspects of Orpheus that we haven't yet
  2069.     touched on, it's time to look at how you can get an end product from your
  2070.     labor:  something that (if you are a registered user of Orpheus) you can
  2071.     distribute to other people.  Note that you can compile your work as often
  2072.     as you want while actually writing it, if only to see what it looks like
  2073.     in the Reader.  The compilation process is non-destructive:  your working
  2074.     version remains untouched, and the compiled version is kept separate.
  2075.  
  2076.  
  2077.  Sweating the Details : Copyright
  2078.  
  2079.         I often hear young writers and programmers asking how to copyright
  2080.     their work.  The best method is to post a copyright notice in the work
  2081.     itself.  In printed books, this usually goes on the reverse of the title
  2082.     page.  In electronic books, put the copyright either on the title screen
  2083.     or one following shortly thereafter.  All it takes is the word
  2084.     "Copyright", the year, and your name or that of a publisher.
  2085.  
  2086.         "Don't you have to register it somewhere?  Don't you have to get a
  2087.     certificate that SAYS you have copyright?"  Absolutely not.  Just post the
  2088.     notice, and (as long as it's your own work) you have legal copyright.
  2089.  
  2090.         Even if you plan to give your work away or distribute it as
  2091.     shareware, I **STRONGLY** urge you to place a copyright notice early in
  2092.     your document. This does not prohibit your readers from helping to
  2093.     disseminate your work if you wish them to do (as shareware or public
  2094.     domain hypertext).  Nor does it conflict in any way with the copyright on
  2095.     the Orpheus Reader, which is held by Hyperion Softword.
  2096.  
  2097.  
  2098.  
  2099.                                       35
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  Cardlength
  2105.  
  2106.         If you have read the section on Workspace in Chapter 2, you know that
  2107.     when you compile your work for viewing with the Orpheus Reader, only the
  2108.     top 24 or 25 lines of each card are included in the finished version.  The
  2109.     default cardlength is 24 lines; this leaves space for the Reader's
  2110.     titlebar, which displays a menu prompt, the full title of your work, and
  2111.     some command buttons for navigating with the mouse.  If you select a
  2112.     cardlength of 25 lines, the titlebar only appears when the user presses
  2113.     <Esc> or clicks the right mouse button; the rest of the time, the entire
  2114.     screen is given over to your work.
  2115.  
  2116.         To verify your cardlength setting, open the Project Menu.  Selecting
  2117.     "Cardlength" toggles the value between 24 and 25.  This has no effect on
  2118.     the appearance of your work in the Orpheus Author, except when you use the
  2119.     Check Card command (discussed below).
  2120.  
  2121.  
  2122.  Full Title
  2123.  
  2124.         Filenames in DOS are so short that it can be hard to make them
  2125.     informative.  At first glance you might think Orpheus makes it even
  2126.     harder, since the name of your Homecard is limited to a maximum of 8
  2127.     characters.  The Project Menu offers a solution:  select "Full Title" and
  2128.     enter up to 32 characters.  For our demonstration book you could type in
  2129.     "This Is A Little Test".  This title will be displayed on the titlebar
  2130.     when your work is viewed with the Orpheus Reader.
  2131.  
  2132.  
  2133.  Include Notes
  2134.  
  2135.         If you use Note links in your work, open the Project Menu and check
  2136.     whether the "Include Notes" field is selected or blank.  The default
  2137.     setting is for it to be selected.  Possible reasons to de-select it would
  2138.     include: (a) your Notes are for your own use and are not intended to be
  2139.     seen by the reader; or (b) you wish to make a selective compilation,
  2140.     "hiding" one or more branches that begin at Note links.
  2141.  
  2142.  
  2143.  Your Colors
  2144.  
  2145.         If you want people to see your work in YOUR colors rather than in the
  2146.     Orpheus Reader's default color scheme, select "Your Colors" on the Project
  2147.     Menu.  If you do not, make sure the field is blank.  Since the Reader
  2148.     still permits users to adjust the colors themselves, you don't really have
  2149.     to worry about people finding your scheme illegible or hard on the eyes.
  2150.     They will see your colors first, and if they don't like them they are free
  2151.     to choose their own color scheme.
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.                                       36
  2160.  
  2161.  
  2162.  
  2163.  
  2164.  Graphic Titlebar
  2165.  
  2166.         If you display graphics or ansi screens from Graphic cards, your
  2167.     readers will have the option of using the Graphic titlebar for navigation
  2168.     and to open the menu.  Normally in Graphic cards the titlebar is hidden:
  2169.     the entire screen is given over to your graphic or ansi screen.  To reveal
  2170.     the titlebar the reader must move the mouse pointer to the top of the 
  2171.     screen (or in the absence of a mouse, press Esc).  If your graphics do not 
  2172.     have to extend to the top of the screen, and if you are concerned about 
  2173.     making your work as user-friendly as possible, select "Graphic Titlebar" 
  2174.     on the Project Menu.  This will ensure that the titlebar is always visible 
  2175.     when the user is in a Graphic card. (Note however that this does not apply 
  2176.     to graphics or ansi screens displayed from Action or Init cards.) 
  2177.  
  2178.  
  2179.  Check the "More" Corner
  2180.  
  2181.         If you use More links, remember that in the Orpheus Reader the More
  2182.     flag appears in the lower right corner and takes up 6 characters: =More=.
  2183.     In contrast, Orpheus Author displays the flag on the statusbar, which
  2184.     could lull you into a false sense of security.  What if you've written
  2185.     text into what will be the lower right corner of a card, and there's a
  2186.     More link?  Keep this in mind when using the Split command or when adding
  2187.     text to a card that has a More Link.
  2188.  
  2189.  
  2190.  Check the Frame
  2191.  
  2192.         If you select the Frame option on the Project Menu, which tells the
  2193.     Orpheus Reader to display all text cards within a frame, you should check
  2194.     your cards to see whether any text or linedraw characters appear in the
  2195.     top or bottom lines, or against the left or right edges of the screen. You
  2196.     CAN leave text there if you wish, "embedding" it in the frame as discussed
  2197.     in online Help.  This can be a desirable effect if it's what you want to
  2198.     do; just make sure that anything in the frame area is there because you
  2199.     want it there.
  2200.  
  2201.  
  2202.  "Check Card" Command
  2203.  
  2204.         The Check Card command (on the Tools Menu) temporarily displays your
  2205.     card as it will appear in the Orpheus Reader.  If the card has a More link
  2206.     the =More= flag is displayed in the lower right corner.  If the cardlength
  2207.     setting is 24 a simulation of the Reader's titlebar replaces the
  2208.     statusbar, while if it is 25 the statusbar is hidden.  If a frame is
  2209.     installed (see above) the chosen frame is drawn.  Pressing any key
  2210.     restores the normal display.
  2211.  
  2212.         If you give the Check Card command while in a programmable card,
  2213.     Orpheus attempts to perform the entire script (sequence of commands) in
  2214.     that card, notifying you if it encounters any errors.  Certain commands
  2215.     such as jump() cannot be performed in OH.EXE, but the majority can.  For
  2216.  
  2217.  
  2218.  
  2219.                                       37
  2220.  
  2221.  
  2222.  
  2223.  
  2224.     example, Check Card gives you an accurate performance of scripts involving
  2225.     graphics, ansi screens, special effects, timed pauses, and music.
  2226.  
  2227.  
  2228.  Check Linkwords
  2229.  
  2230.         As mentioned in Chapter 4 under "Resizing Linkwords", if the
  2231.     background color for a linkword is the same as that of ordinary text, and
  2232.     if you decide to resize the linkword, you can easily make the mistake of
  2233.     going too far on one side or the other -- giving the linkword an extra
  2234.     space.  For those of your readers who choose colors in which the
  2235.     backgrounds are different, that space will be all too apparent, and your
  2236.     electronic masterpiece will look sloppy.  (Orpheus never includes extra
  2237.     spaces when it selects the default linkword, so if you never resize your
  2238.     linkwords you don't have to worry about this.)
  2239.  
  2240.         Whether your intended readers are the general public or the co-workers
  2241.     in your office, you want your work to be as sharp, effective and
  2242.     professional-looking as can be.  My advice is to configure your colors in
  2243.     Orpheus Author so that all linkwords are set on a background distinct from
  2244.     that of ordinary text.
  2245.  
  2246.  
  2247.  Use Tour Mode
  2248.  
  2249.         The Orpheus Reader provides an additional tool to help ensure that
  2250.     your work comes out exactly the way you want it.  After compiling your
  2251.     project (see below), load it in the Reader and select "Tour" from the
  2252.     Reader's File Menu.  This opens the Tour Menu, which lets you set up an
  2253.     automated tour of your entire book.
  2254.  
  2255.         The most practical method is to select a Sequential tour with the
  2256.     delay option of your choice.  When you press "Go" the Reader starts from
  2257.     the Homecard and proceeds to follow the chronological sequence in which
  2258.     you created your book.  When it reaches the end it starts over from the
  2259.     beginning, making it easy to tell when you've seen everything.
  2260.  
  2261.         Note that the Reader does NOT activate either Init cards or Action
  2262.     cards when in Tour Mode, since these could contain commands that would
  2263.     interrupt a tour.  If you have used Init or Action links and wish to
  2264.     inspect them, wait till the tour brings you to a card that has one, and
  2265.     press <Alt-T> to leave the tour.  Use the same method if you wish to
  2266.     pause to identify a card that needs changes.  To continue from where you
  2267.     left off, open the Tour Menu and press "Go" again.
  2268.     
  2269.         Tour Mode is designed to avoid unpleasant surprises; if it encounters
  2270.     a bad link (meaning a card that it cannot find or read) it ignores it
  2271.     and tries the next link.  This is no help when you're proofreading, so
  2272.     there is a special command you can use to tell the Reader to STOP at a
  2273.     bad link.  Here's what to do:  with the Tour Menu open, hold down the
  2274.     <Shift> key when you press "Go" to start the tour.  A message will pop
  2275.     up saying "Proofing On".  Press any key to let the tour proceed.  Now 
  2276.  
  2277.  
  2278.  
  2279.                                       38
  2280.  
  2281.  
  2282.  
  2283.  
  2284.     if the Reader encounters a bad link it will stop at the card BEFORE that
  2285.     link and post a message; this automatically pauses the tour as if you
  2286.     had pressed <Alt-T>.  Press any key to clear the message, and note the
  2287.     path to the card where the tour stopped (this is so you can navigate to
  2288.     it later in OH.EXE).  Now open the Tour Menu, and WITHOUT holding down
  2289.     <Shift> press "Go" again to continue the tour; proofing is still on, and
  2290.     the Reader automatically goes to the next link after the bad one.  (If
  2291.     you hold down <Shift> the second time, proofing is turned off.)
  2292.  
  2293.         Proofing with Tour Mode gives you the assurance that all of your text 
  2294.     and Graphic cards have been correctly compiled for viewing in the Reader.  
  2295.     Remember that Init and Action cards are not tested in Tour Mode, nor are 
  2296.     Crosslinks, so a complete proofreading must be done manually.  If a 
  2297.     Crosslink leads to a bad link or to a different card than you intended, it 
  2298.     means that you orphaned or deleted that card and forgot to unlink the 
  2299.     Crosslink; the solution is to unlink it and recompile.  In ALL other 
  2300.     cases, as of version 1.41 of Orpheus there should NO possibility of bad 
  2301.     links making it into the Reader.  (If you encounter an exception, please 
  2302.     call Hyperion Softword at 1-819-566-6296.)
  2303.      
  2304.  
  2305.  Compiling Your Project
  2306.  
  2307.         At any stage during your work on a document, you can compile it to see
  2308.     how it looks in the Orpheus Reader.  The process is identical whether you
  2309.     are finished or not.  (Compare this to publishing in print:  before you
  2310.     spend a bundle at the printer's, you *hope* that manuscript is perfect!)
  2311.  
  2312.         To compile a project, load it in the Orpheus Author the way you would
  2313.     for a normal working session.  Open the Project Menu and select "Compile
  2314.     Project".  It doesn't matter which card you're in.  Orpheus asks "Are you
  2315.     sure?".  Press <Enter> to say Yes.  Now Orpheus asks if you have verified
  2316.     your project options.  Assuming that you have checked everything as
  2317.     described earlier in this chapter, press <Enter> to answer Yes again.
  2318.  
  2319.         Now Orpheus gets busy, as you can tell from the activity on your hard
  2320.     disk.  Just sit back and watch -- that's all you have to do.  In step 1,
  2321.     Orpheus displays a message saying that it is "Building the compilation
  2322.     list".  This is a list of all of the cards that will go into the compiled
  2323.     version of your work.  Orpheus starts from the Homecard and works its way
  2324.     down, verifying every link and adding each card it encounters to the list;
  2325.     if it comes to a Note link and the Include Notes option is turned off,
  2326.     Orpheus ignores that link and everything it might lead to.
  2327.  
  2328.         In step 2, Orpheus displays a window in which you can monitor its
  2329.     progress as it creates your finished work.  For our test project this will
  2330.     go by in a matter of seconds.
  2331.  
  2332.         In step 3, if all has gone well, Orpheus says "Compiled successfully!"
  2333.     Press any key to continue.
  2334.  
  2335.  
  2336.  
  2337.  
  2338.  
  2339.                                       39
  2340.  
  2341.  
  2342.  
  2343.  
  2344.         In step 4, Orpheus informs you that it has created a file containing a
  2345.     list of everything that should go into the distribution package when you
  2346.     send your work out into the world.  This file is named after the Homecard
  2347.     and has a .DOC extension, so for our test project it would be called
  2348.     TEST.DOC.  Please note that the DOC file is for *your* use and should not
  2349.     be included in the distribution package.  (By "distribution package" I
  2350.     mean whatever you use to distribute your work, such as a floppy disk or a
  2351.     ZIP file.  This is discussed in the next section.)
  2352.  
  2353.         Let's look at the DOC file.  Switch to the FileView window and load
  2354.     TEST.DOC or whatever name was given in the last message.  There are three
  2355.     groups of files in the list:  your compiled hypertext, your graphics if
  2356.     any, and the Orpheus Reader.  The first group always consists of at least
  2357.     two files, of which the first ends with an .HTX extension, while the
  2358.     remainder are numbered.  In this case the list will show TEST.HTX and
  2359.     TES_.1. The second group lists the graphics in your book (if any).  The
  2360.     last group of files consists of the executable and help for the Orpheus
  2361.     Reader:  OHREAD.EXE and OHREAD.HLP.
  2362.  
  2363.  
  2364.  Distributing Your Work
  2365.  
  2366.         If you are a registered user of Orpheus -- meaning that you have paid
  2367.     the registration fee to Hyperion Softword and have received a licence in
  2368.     return -- you have the right to distribute your work in compiled form
  2369.     together with the Orpheus Reader. This right is unrestricted:  you may
  2370.     distribute as many copies as you wish, and you may do so in any way you
  2371.     wish, whether by selling it, giving it away, or putting it out as
  2372.     shareware with whatever registration fee you choose to specify.
  2373.  
  2374.         If you are not a registered user of Orpheus, you may not distribute
  2375.     your work in ANY form, whether compiled or uncompiled.
  2376.  
  2377.         There are two steps involved in distributing your finished work.  The
  2378.     first is to put together a package.  The second is to get it out into the
  2379.     world.  Look back over the better pieces of software you've encountered:
  2380.     the good ones always have a certain neatness about them, something that
  2381.     satisfies the veteran while reassuring the novice.  It should all hold
  2382.     together, it should be well documented, and it should be as easy as
  2383.     possible to start up and to use.
  2384.  
  2385.         As suggested in the DOC file created after compilation, your software
  2386.     package should always include a README file.  You can prepare this using
  2387.     your favourite word processor, but remember to save it to disk in non-
  2388.     document mode, i.e. as a plain ascii text file.  The README file should
  2389.     include the following:
  2390.  
  2391.             (1) a brief explanation of what the work is and how to start it;
  2392.             (2) a "packing-list" giving the name (and optionally the size) of
  2393.                 every file that the user should find in the package;
  2394.             (3) a copyright notice identical to the one posted near the
  2395.                 beginning of your document;
  2396.  
  2397.  
  2398.  
  2399.                                       40
  2400.  
  2401.  
  2402.  
  2403.  
  2404.             (4) if you are distributing the work as shareware or freeware, a
  2405.                 statement to that effect, with (for shareware) the
  2406.                 registration fee;
  2407.             (5) optionally, your name and address if you want your readers to
  2408.                 be able to contact you;
  2409.             (6) if your book includes graphics, a statement of the minimum
  2410.                 hardware required to view your work without missing anything.
  2411.                 If you just use a few graphics and they don't have any
  2412.                 hotspots, this is not required.
  2413.  
  2414.  
  2415.         Along with a README file, many software developers include a GO.BAT
  2416.     file, especially when the software is distributed on disk.  When a novice
  2417.     user sees the instructions "Type GO <Enter>" right on the label, he knows
  2418.     exactly what to do.  Your GO.BAT file would contain the command to start
  2419.     up the Orpheus Reader with your document.  In the case of our "Test"
  2420.     project, this command would be "OHREAD TEST.HTX".  In other words, if the
  2421.     user types "GO" <Enter> at the DOS prompt, this starts up GO.BAT, which in
  2422.     turn passes to DOS whatever commands you place in it.
  2423.  
  2424.         If you're not familiar with batch files (files with a .BAT extension),
  2425.     read about them in your DOS manual.  If you're a power user, you know that
  2426.     you can make a batch file do some pretty fancy things.  For example, with
  2427.     the addition of a utility like REPLY.COM you can write a batch file that
  2428.     accepts user input and branches accordingly.  Your GO.BAT could let the
  2429.     user either view the README file first or immediately start the program.
  2430.  
  2431.         Is this beginning to sound complicated?  Relax...  You don't have to
  2432.     have a GO.BAT.  All the user needs to do is type "OHREAD" <Enter> at the
  2433.     DOS prompt, and the Orpheus Reader will take it from there.  When you pass
  2434.     the Reader the name of a book complete with .HTX extension, it loads the
  2435.     document immediately; otherwise, it searches the current drive/directory
  2436.     for HTX files, then displays a directory dialog to let the user choose
  2437.     from what it finds.  It does the same thing if you give it the wrong type
  2438.     of filename, so even novices can't get into trouble.
  2439.  
  2440.         There are many ways to put your work out into the world, some of them
  2441.     easier than others, all of them cheaper than print media.  Perhaps you are
  2442.     a consultant and you are creating an electronic book for your clients;
  2443.     perhaps you are creating an electronic manual for use in the company you
  2444.     work for; perhaps you are an educator and are creating an electronic
  2445.     textbook for your students.  In such cases your user-base is right at
  2446.     hand:  you can copy your work to one or more floppy disks and sell it or
  2447.     give it away as you see fit.  If user-response is enthusiastic you may see
  2448.     an opportunity for more ambitious distribution through a major publisher.
  2449.     Why not?  If your work is useful and exciting for a number of people in
  2450.     one company, or in one department of one university, think of how great
  2451.     the market could be on a country-wide scale.
  2452.  
  2453.         Even if you don't have a ready-made user-base, there are two highly
  2454.     effective and inexpensive ways in which you can broadcast your work,
  2455.     potentially throughout the world.  I use the term "broadcast" for good
  2456.  
  2457.  
  2458.  
  2459.                                       41
  2460.  
  2461.  
  2462.  
  2463.  
  2464.     reason.  With both methods, you are ensured that thousands or perhaps
  2465.     millions of people will be made aware of the existence of your work:  they
  2466.     will see its title and at least a brief description of it.  Of those
  2467.     thousands or millions, some hundreds or thousands will choose to acquire a
  2468.     copy and spend some time with it.  And of those, if you specify a
  2469.     registration fee, some portion of users may send you a check.
  2470.  
  2471.         When you ask for a registration fee you are distributing your work as
  2472.     shareware; when you don't, you're distributing it as freeware or are
  2473.     "putting it in the public domain".  Always state up front what you are
  2474.     doing and what you expect from the user in return, if anything.  For an
  2475.     electronic book, a reasonable shareware fee would be $5 to $10.  (Many
  2476.     authors and programmers give the user a choice, with a notice something
  2477.     like this: "Suggested registration:  $5-$10".)  Bear in mind that with a
  2478.     *printed* book selling at $10 in the bookstores, you would be lucky to get
  2479.     back $1 for each copy sold -- the rest going to the printer, the
  2480.     publisher, the distributor, and the owner of the bookstore.  Whether you
  2481.     go the shareware route or are happy to place your work in the public
  2482.     domain, you should *say so* both in the README file and on the title
  2483.     screen of your work or shortly thereafter.
  2484.  
  2485.         The first "broadcast" method is to send your work on disk to shareware
  2486.     distributors.  You can always find ads for these companies in computer
  2487.     magazines, and they are always looking for new software to add to their
  2488.     catalogs.  Shareware distributors operate by selling shareware and public
  2489.     domain software on disk; the charge per disk is minimal (usually $4 or
  2490.     $5), and covers only the distributor's costs -- none of it comes back to
  2491.     you.  The advantage is that you get free advertising in the distributor's
  2492.     catalog.  Of the people who purchase your work in this way, some may be
  2493.     appreciative enough to send you a registration check if you suggest a
  2494.     reasonable fee.  But before that can happen you need to convince the
  2495.     distributor that your submission will interest his customers. Prepare your
  2496.     submission disk carefully, making sure there are no missing files;
  2497.     you should definitely include a README file as well as a GO.BAT file.
  2498.     Then write an intelligent cover letter in which you describe the work,
  2499.     tell why it is unique and whom it should interest, state whether it is
  2500.     shareware or freeware, and mention any hardware requirements if graphics
  2501.     are used.  The idea is not only to get the distributor interested, but to
  2502.     make it as easy as possible for him to put your disk in his repertoire and
  2503.     make an attractive catalog blurb.
  2504.  
  2505.         The second broadcast method is to go electronic and post your work on
  2506.     the public BBS's and commercial services.  The advantage of this method is
  2507.     that once you upload your work to a BBS, other users can download it.
  2508.     Except when there are long-distance charges (or the hourly fees of
  2509.     commercial services), nobody pays anything up front.  A vast number of
  2510.     people learn of the existence of your work and can examine it without
  2511.     having to buy a disk from a distributor.  Best of all, you need only
  2512.     "seed" your work in a few strategic locations for it to disseminate
  2513.     rapidly to hundreds or thousands of BBS's around the world.
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.                                       42
  2520.  
  2521.  
  2522.  
  2523.  
  2524.         The only difference between distribution on disk and distribution by
  2525.     telephone (the BBS method) is that in the latter case you must upload
  2526.     your work in the form of one or more compressed files.  The commonest
  2527.     compression format uses the .ZIP extension and is created by the PKZIP
  2528.     program from PKWare.  (If you plan on using any such compression program
  2529.     for profit, be sure to read the documentation to see if you should pay a
  2530.     registration fee.)  Other compression formats include LZH, ARC, ZOO, and
  2531.     so on.  The same principles apply to this method as the others:  make a
  2532.     coherent package of your work, with at least a README file, and when you
  2533.     post it on a BBS, enter an informative desciption.
  2534.  
  2535.  
  2536.  The Orpheus Reader
  2537.  
  2538.         Once you have composed and compiled your work in Orpheus Author
  2539.     (OH.EXE), the most important part of the Orpheus system becomes, of
  2540.     course, the Orpheus Reader (OHREAD.EXE). This is the interface between you
  2541.     and the public, the decisive factor that could persuade the waiting world
  2542.     that your electronic book is better than anything that can be found in
  2543.     print.  You have a right to expect the Orpheus Reader to be as exciting,
  2544.     user-friendly, and bullet-proof as the best software on the market.  In
  2545.     your own best interests, take the Reader for a serious test-drive.  See if
  2546.     you can crash it.  See if there's any feature that is difficult or
  2547.     unsatisfying to use, or one it ought to have that it doesn't.  Drop me a
  2548.     line with your comments and suggestions.
  2549.  
  2550.         Should the Reader have a manual?  You tell me.  In my opinion your
  2551.     work will come across more effectively if the interface to it does not
  2552.     *need* a manual -- if we can push the user right into it and let him
  2553.     discover for himself how quickly he feels comfortable.  That's what
  2554.     electronic publishing is all about.  It's NOT about printed manuals, it's
  2555.     about keeping everything immediately available through the screen using
  2556.     online Help.  It's about teaching people that they can find their own way,
  2557.     the very essence of hypertext.
  2558.  
  2559.         As you'll notice when you test the Orpheus Reader, the first time you
  2560.     use it a special screen pops up to say, "Welcome to the Orpheus Reader".
  2561.     This gives a brief overview of the program and how to use it.  The next
  2562.     time you start the Reader this screen will not appear, but it remains
  2563.     available from the menu.  (The Reader detects a first-time user by the
  2564.     absence of a configuration file; you should never put your own OHREAD.CFG
  2565.     in the distribution package.)
  2566.  
  2567.         As mentioned in earlier chapters, the Reader automatically detects
  2568.     whether a document uses 24-line or 25-line cards.  In the latter case,
  2569.     since the titlebar is hidden, the Reader posts a brief message telling
  2570.     the user how to call up the titlebar and menu system (press <Esc> or click
  2571.     the right mouse button).
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.                                       43
  2580.  
  2581.  
  2582.  
  2583.  
  2584.  Cleaning Up
  2585.  
  2586.         Eventually, after finishing a book and getting it out into the world,
  2587.     you will want to remove the original version from your hard disk.  My
  2588.     advice is to save it first onto floppy disks, just in case you want to
  2589.     revise it one day.  An effective method would be to use a compression
  2590.     utility such as PKZIP to create one ZIP file for each storage directory,
  2591.     with an additional ZIP file to hold the Homecard and its LST and PRJ
  2592.     files.  Read about "Files and Directories" in online Help to learn how
  2593.     Orpheus sets up the subdirectories for a project; with a little care you
  2594.     can direct PKZIP to conserve the subdirectory structure along with your
  2595.     hypertext cards.  Alternately, you could use a backup utility to do the
  2596.     same thing.
  2597.  
  2598.         When you are truly ready to remove a project from your hard disk,
  2599.     first load it in OH.EXE, then open the Project Menu and select "Erase
  2600.     Project".  Orpheus will get you to confirm your choice before doing
  2601.     anything.  If you confirm that you really want to do it, Orpheus will
  2602.     delete all files in that project's storage directories, remove those
  2603.     directories, then delete the Homecard and various subsidiary files like
  2604.     the LST and PRJ files (for that project only).  It will NOT touch your
  2605.     compiled files, nor will it touch any files in other projects'
  2606.     directories.  While you could do all this yourself from the DOS prompt or
  2607.     with a file manager, Orpheus does it much faster.
  2608.  
  2609.         A worthy victim for "Erase Project" will be the tutorial project we've
  2610.     worked on together in the previous chapters.  You may want to keep it
  2611.     around for a while so you can continue trying things out, but when you
  2612.     know you're done with it, get Orpheus to zap it for you.
  2613.  
  2614.  
  2615.  
  2616.  
  2617.  
  2618.  
  2619.  
  2620.  
  2621.  
  2622.  
  2623.  
  2624.  
  2625.  
  2626.  
  2627.  
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639.                                       44
  2640.  
  2641.  
  2642.  
  2643.  
  2644.   ---------------------------------------------------------------------------
  2645.                  CHAPTER 6  -  SHAREWARE : REGISTERING ORPHEUS 
  2646.   ---------------------------------------------------------------------------
  2647.  
  2648.  
  2649.  
  2650.  Topics in this chapter:  Licence
  2651.                           What You Get When You Register
  2652.                           Site Licencing 
  2653.                           Sharing Orpheus
  2654.                           A Note to Pioneers
  2655.  
  2656.  
  2657.         Orpheus is distributed as SHAREWARE.  This means that you are welcome
  2658.     to evaluate the system for up to 30 days.  If you wish to use it after
  2659.     that period, you must pay the registration fee of $49.  To enable you to
  2660.     make a thorough evaluation of the power of Orpheus, this package includes
  2661.     the Orpheus Reader (OHREAD.EXE) and the ability to compile your work to see
  2662.     what it would look like to the end user.  However, you may not in any way
  2663.     distribute such work with the Orpheus Reader until you have registered the
  2664.     software and received your licence from Hyperion Softword.
  2665.  
  2666.  
  2667.  Licence
  2668.  
  2669.         Registered users of Orpheus receive an unlimited licence to sell, give
  2670.     away, or in any other manner distribute their compiled works, royalty-
  2671.     free, with as many copies of the Orpheus Reader as they require.  Terms
  2672.     are detailed in the Software Licence Agreement that accompanies the
  2673.     registered version.
  2674.  
  2675.  
  2676.  What You Get When You Register
  2677.  
  2678.         * First of all, you get a registered copy of the latest version of 
  2679.     Orpheus on disk.  * Second, you get a registration number that Orpheus 
  2680.     will build right into your compiled works (in encoded form).  This is your 
  2681.     ultimate proof that those works are yours.  (It will also serve as a 
  2682.     "password" barring entry to anyone but you, should you ever need to 
  2683.     decompile your work.  A decompiler will become available in 1993.)        
  2684.     * Third, you get continuing free support by any of the methods decribed on 
  2685.     the "Orpheus Support" sheet accompanying your registered copy.  * Fourth, 
  2686.     you get the right to upgrade your software, usually for free (from our 
  2687.     support BBS or any BBS with the latest version) or for a modest fee in the 
  2688.     case of major upgrades.  * Fifth, if you are or become an electronic 
  2689.     publisher you get the right to an "incremental site licence" as discussed 
  2690.     below.  * And finally, you receive the following utilities: 
  2691.  
  2692.         SNAPSHOT.EXE ...... captures *any* graphic screen so that
  2693.                             you can link it into your hypertext.
  2694.         REGIT.EXE ......... when you get updates from BBS's, tells
  2695.                             the new Orpheus you're a registered user.
  2696.  
  2697.  
  2698.  
  2699.                                       45
  2700.  
  2701.  
  2702.  
  2703.  
  2704.         To register this copy of Orpheus, complete the registration form in
  2705.     the REGISTER.DOC file and send payment to:
  2706.  
  2707.                             Hyperion Softword 
  2708.                             535 Duvernay
  2709.                             Sherbooke, QC
  2710.                             Canada J1L 1Y8
  2711.  
  2712.  
  2713.  
  2714.  Site Licencing 
  2715.  
  2716.         Site licences are available to corporate or other users requiring 
  2717.     multiple copies of the authoring system.  The following price schedule is 
  2718.     given for example only and represents the prices current at the end of 
  2719.     1992.  Prices WILL rise in mid-1993, so be sure to enquire first if you 
  2720.     wish to purchase a site licence.
  2721.     
  2722.                 - first copy:  full price ($49 plus $3 s/h)
  2723.                 - next 10 copies:  $35 each
  2724.                 - next 10 copies:  $30 each 
  2725.                 - additional copies: negotiable
  2726.  
  2727.         If you are or become an electronic publisher, and are a registered 
  2728.     user of Orpheus, you have the right to an "incremental site licence" 
  2729.     permitting you to purchase additional copies of Orpheus at a cost 
  2730.     comparable to the price schedule above.  As an electronic publisher, you 
  2731.     will increasingly find yourself working with authors who wish to write 
  2732.     directly in Orpheus.  It is in your own best interest to ensure that they 
  2733.     use _registered_ copies of the system, since (a) this fosters a mentality 
  2734.     that helps protect your own work from piracy, and (b) it helps Hyperion 
  2735.     Softword continue to support and improve the software.
  2736.     
  2737.         The incremental site licence makes this easy.  Let's suppose you start 
  2738.     off by purchasing 1 copy of Orpheus.  A little later you start talks with 
  2739.     an author whose work you intend to publish, and who wants to write in 
  2740.     Orpheus.  Call Hyperion Softword at 1-819-566-6296 and ask for the current 
  2741.     price of an additional copy according to the incremental site licence.  I 
  2742.     will check your registration card and give you the best price available; 
  2743.     in the example above that would be $35.  You can have that copy registered 
  2744.     in your name and shipped to you, or registered in the author's name and 
  2745.     shipped to the author.  However, both the order and the payment MUST come 
  2746.     from you, not from the author.  Each time you make such a purchase I will 
  2747.     note it on your registration card, so that after a certain number of 
  2748.     copies (10 in the example above) the next one would be at an even better 
  2749.     price.  NOTE:  the price you will be offered will be the current price 
  2750.     within each price level, not whatever it may have been at the time of your 
  2751.     first purchase.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.                                       46
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  Sharing Orpheus
  2765.  
  2766.         Part of the shareware ethic is that you are welcome to help others
  2767.     learn about Orpheus in the same way you did.  If you downloaded Orpheus
  2768.     from a BBS, you are welcome to upload it to others.  Be sure to upload the
  2769.     entire system exactly as you received it, complete and unmodified.  The
  2770.     same caution applies if you purchased Orpheus on disk from a shareware
  2771.     distributor.  Finally, please note that if you are a registered user of
  2772.     Orpheus, your *registered* copy of the software must NEVER be treated as
  2773.     shareware, since it is in fact slightly different and includes a number of
  2774.     utilities that are only available to registered users.  If you would like
  2775.     a copy of the shareware version to pass on to your friends, let me know
  2776.     and I will gladly send you one on disk.
  2777.  
  2778.  
  2779.  A Note to Pioneers
  2780.  
  2781.         Orpheus is about enabling creativity.  *Your* creative daring may lead
  2782.     you to conceive of innovations in hypertext that I haven't thought of.
  2783.     If you have a project in mind that Orpheus seems right for but cannot
  2784.     currently enable, give me a call and we'll talk about it.  The feature you
  2785.     need may already be on the way; if not, your idea could well be the motive
  2786.     for a future upgrade.
  2787.  
  2788.  
  2789.  
  2790.  
  2791.  
  2792.  
  2793.  
  2794.  
  2795.  
  2796.  
  2797.  
  2798.  
  2799.  
  2800.  
  2801.  
  2802.  
  2803.  
  2804.  
  2805.  
  2806.  
  2807.  
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813.  
  2814.  
  2815.  
  2816.  
  2817.  
  2818.  
  2819.                                       47
  2820.  
  2821.  
  2822.  
  2823.  
  2824.   ----------------------------------------------------------------------------
  2825.                         CHAPTER 7  -  ORPHEUS UTILITIES
  2826.   ----------------------------------------------------------------------------
  2827.  
  2828.  
  2829.  
  2830.  Topics in this chapter:  REGIT.EXE
  2831.                           SNAPSHOT.EXE
  2832.  
  2833.  
  2834.  
  2835.     [The Orpheus Utilities are bonus programs given to registered users of
  2836.     Orpheus.  They are not required to make a thorough evaluation of the
  2837.     shareware version of the system.]
  2838.  
  2839.  
  2840.  
  2841.         Everything you can do in Orpheus is built right into the program.
  2842.     However, there are times when it's handy or even necessary to have a small
  2843.     separate program to perform some special task.  The Orpheus Utilities will
  2844.     be a small collection of such programs.  Currently the collection consists
  2845.     of just two utilities, but there are more on the drawingboard.
  2846.  
  2847.  
  2848.  REGIT.EXE
  2849.  
  2850.         REGIT.EXE is a program that serves a purpose even when it doesn't do
  2851.     anything; its role is to help Orpheus recognize you as a registered user,
  2852.     and to protect your finished work from intruders.
  2853.  
  2854.         First, the passive role:  updates of Orpheus will regularly appear on
  2855.     BBS's around the continent, in the form of new shareware versions.  Since
  2856.     these will often contain significant new features or improvements, you
  2857.     will probably want to acquire them.  Go right ahead! Normally you will be
  2858.     able to install them right over your old Orpheus files, since your work in
  2859.     progress will still be compatible with the new version.  (To be safe
  2860.     however, you should always check the README file before installing a new
  2861.     version of anything.)  The presence of REGIT.EXE in your Orpheus directory
  2862.     will inform the new version that you are a registered user.  If your
  2863.     OH.CFG file contains your registration number, the new version will
  2864.     recognize that too; if it does not, start up OH.EXE and press <Alt-H> to
  2865.     open the Help Menu, then select "Registration" and type in the number on
  2866.     your distribution disks.
  2867.  
  2868.         To make this very clear:  once you are a registered user you can
  2869.     take advantage of shareware updates and compile all the books you want.
  2870.     To do this, you MUST have REGIT.EXE in your Orpheus directory, and your
  2871.     registration number MUST be showing on the Help Menu.
  2872.  
  2873.         Now for REGIT.EXE's active role:  if you came to Orpheus through
  2874.     shareware, you may have compiled a book before receiving your registered
  2875.     copy.  The shareware version of Orpheus is not in any way crippled or
  2876.  
  2877.  
  2878.  
  2879.                                       48
  2880.  
  2881.  
  2882.  
  2883.  
  2884.     restricted, but it does leave its mark on anything you compile with it.
  2885.     The Orpheus Reader recognizes such books as having been made with an
  2886.     unregistered copy, and says so.  Moreover such books are missing an
  2887.     important ingredient:  your encrypted registration number.
  2888.  
  2889.         When you compile a book with a registered copy of Orpheus, it hides an
  2890.     encrypted copy of your registration number right inside the book.  This is
  2891.     the ultimate proof that you are the author of it; it is also something
  2892.     more.  One of the programs that I plan to add to the Orpheus Utilities is
  2893.     a decompiler:  a program that can take a compiled electronic book and
  2894.     unfold it into its original state as cards.  But if *you* can decompile an
  2895.     Orpheus book, can't everyone else who has a registered copy?  NO.  The
  2896.     decompiler will check your registration number, compare it with the
  2897.     encrypted version in the book you want to open, and proceed only if the
  2898.     two match.  Of course, we could have used a password system, but then you
  2899.     would have to remember where you wrote the password.  With this system you
  2900.     can't go wrong:  your registration number is on the label of your
  2901.     distribution disks, AND here in the user files at Hyperion Softword.
  2902.  
  2903.         Where does REGIT.EXE fit into this?  If you have compiled a book with
  2904.     the shareware version and deleted the original, REGIT.EXE can update your
  2905.     compiled book, complete with encrypted registration.  The result is
  2906.     exactly the same as if you had compiled it with the registered version.
  2907.  
  2908.     STEP 1:  begin by installing your registered copy of Orpheus in your usual
  2909.         Orpheus directory.  Start up OH.EXE and press <Alt-H> to open the Help
  2910.         Menu, then <R> to select "Registration #".  Type in the number given
  2911.         on the label of your distribution disks, and press <Enter>.  Orpheus
  2912.         immediately writes a new copy of your personal configuration file
  2913.         (OH.CFG) to disk, complete with your registration number.
  2914.  
  2915.     STEP 2:  exit Orpheus and check whether your compiled book is in your
  2916.         Orpheus directory (along with REGIT.EXE and OH.CFG).  If it is not,
  2917.         copy your book's HTX file into the Orpheus directory before
  2918.         continuing; REGIT.EXE only concerns itself with HTX files.  Now give
  2919.         the "REGIT" command at the DOS prompt, and if all goes well you should
  2920.         see a report of the results:  how many files found, how many updated,
  2921.         how many were already registered.  (If REGIT.EXE encounters an HTX
  2922.         file compiled with a registered copy of Orpheus, it leaves it alone.)
  2923.  
  2924.     Of course, the other way to update your work is simply to recompile it
  2925.     with your registered copy of OH.EXE.  With an exceptionally long book
  2926.     you may not want to do that.
  2927.  
  2928.  
  2929.  
  2930.  
  2931.  
  2932.  
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938.  
  2939.                                       49
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  SNAPSHOT.EXE
  2945.  
  2946.         SNAPSHOT.EXE is a utility developed by Ted Gruber Software as part of
  2947.     Fastgraph, the professional graphics library used in Orpheus.  Hyperion
  2948.     Softword is licensed to distribute Snapshot with those of its products
  2949.     that employ the Fastgraph library.  Registered users of Orpheus can use
  2950.     Snapshot to capture graphics for their hypertext books.
  2951.  
  2952.         Snapshot is a TSR; this means that once you load it, it remains in
  2953.     the background even after returning control to DOS so that you can run
  2954.     other programs.  Later, if you press the Snapshot hotkeys while in a
  2955.     graphics program, Snapshot comes alive long enough to capture the
  2956.     graphics screen to a disk file in the SPR format.  Snapshot then returns
  2957.     control to the graphics program, allowing you to view and capture other
  2958.     images if you wish.  (Note that once loaded, Snapshot remains in memory
  2959.     until you reboot your computer.  If you use the MARK/RELEASE or similar
  2960.     utilities you can give a MARK command before loading Snapshot, then a
  2961.     RELEASE command when you no longer need it.  If you use Desqview and your
  2962.     windows are large enough, load Snapshot in the window where you will load
  2963.     the graphics program, then close the window when done.)
  2964.  
  2965.  
  2966.       **** Do NOT load Snapshot or any other TSR from within a shell. ****
  2967.  
  2968.  
  2969.         Here's how to load Snapshot.  At the DOS prompt, give the SNAPSHOT
  2970.     command and press <Enter>.  If it loads successfully, Snapshot will
  2971.     identify itself and remind you to press <Alt-Left Shift> to activate it.
  2972.     Now you are at the DOS prompt again, so you can load your paint program or
  2973.     graphics viewer.  While doing so, note the screen resolution the program
  2974.     will be using; some paint programs let you choose the resolution from a
  2975.     menu, while others let you set the resolution on the command line or in a
  2976.     startup batch file.  Consult the appropriate manual if you aren't sure.
  2977.  
  2978.         With the graphics program running, load an image that you would like
  2979.     to capture.  If you are using a paint program, part of the screen may be
  2980.     taken up by menu lines and toolbars; select the command that temporarily
  2981.     removes these to let you see your entire graphic taking up the full
  2982.     screen.  Once your graphic is displayed in full-screen form, press the
  2983.     Snapshot hotkeys:  that is, press and hold down the <Alt> key, add the
  2984.     <Left Shift> key, then release both keys.  If Snapshot successfully
  2985.     captures the screen it will announce this with three quick tones of medium
  2986.     pitch.  If it is not successful it will give a single low-pitched tone;
  2987.     this also happens if you press the hotkeys while in text mode.
  2988.  
  2989.         Since Snapshot remains in memory until you reboot or otherwise remove
  2990.     it, you can go on to view and capture other graphics if you wish, all
  2991.     without reloading Snapshot from the DOS prompt.  But let's assume for now
  2992.     that you only wanted to capture the one image, and have exited your
  2993.     graphics program.  The next task is to locate the capture file and bring
  2994.     it into Orpheus.
  2995.  
  2996.  
  2997.  
  2998.  
  2999.                                       50
  3000.  
  3001.  
  3002.  
  3003.  
  3004.         After exiting the graphics program give the following command at the
  3005.     DOS prompt:  "DIR SNAPSHOT.*" <Enter>.  If you captured only one image
  3006.     there will be only one file:  SNAPSHOT.000.  If you captured two, the
  3007.     second will be named SNAPSHOT.001.  Snapshot will save up to a thousand
  3008.     images in the current directory, numbering them from 000 to 999.  When
  3009.     saving a new image it uses the lowest available number, so if you save 10
  3010.     images and then delete the first, the next image will be numbered 000. If
  3011.     you plan on saving more than one image, make a list of them as you go
  3012.     along, with a brief description of what each one shows.
  3013.  
  3014.         The next step is to rename your SNAPSHOT.nnn file, both for your own
  3015.     convenience and so that Orpheus will recognize it.  The first part of the
  3016.     name (up to 8 letters) should refer to the contents of the image, to help
  3017.     you remember what it is.  The second part of the name, the three-letter
  3018.     extension after the dot, must be "SPR"; this tells Orpheus that the file
  3019.     is an image in Fastgraph's Standard Pixel Run format.  For example,
  3020.     suppose your image is a painting of the Grand Canyon, and that you saved
  3021.     it into SNAPSHOT.000.  To rename it, you would give the following command
  3022.     at the DOS prompt:  "RENAME SNAPSHOT.000 CANYON.SPR".
  3023.  
  3024.         Orpheus looks for graphics and ansi files in the current directory,
  3025.     and if it doesn't find them, looks next in the location specified with the
  3026.     ORPHEUS environment variable -- if you have set it.  For more information
  3027.     read Appendix C, "Using the ORPHEUS Environment Variable".  Before you can
  3028.     display a graphic in Orpheus you must place a copy of the file in one of
  3029.     those locations.
  3030.  
  3031.         The last step is to start up Orpheus, create or navigate to the
  3032.     desired Graphic card, and type in a valid graphic() command as described 
  3033.     in Part II of the User's Guide.  Remember that for SPR and PPR files, 
  3034.     *unless* you are using a full-screen image, the graphic() command requires 
  3035.     that you give a little thought to the numbers you enter as the fourth and 
  3036.     fifth parameters.  The fourth parameter represents the pixel-row of the 
  3037.     lower left corner (as opposed to the upper left corner in PCX files).  The 
  3038.     fifth parameter represents the image width in pixels and must be entered 
  3039.     (whereas for PCX images it can be given as 0). 
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.                                      51
  3060.  
  3061.  
  3062.  
  3063.  
  3064.   ---------------------------------------------------------------------------
  3065.                    APPENDIX A  -  ORPHEUS AND OTHER SOFTWARE 
  3066.   ---------------------------------------------------------------------------
  3067.  
  3068.  
  3069.  
  3070.  Disk Caches 
  3071.  
  3072.         You can safely use Orpheus with a disk cache provided your setup does 
  3073.     NOT include a write delay.  Experts know that a write delay of even a 
  3074.     second is far too risky to justify the tiny increase in performance.  
  3075.     Orpheus occasionally updates a large number of files at high speed; if an 
  3076.     error occurs, Orpheus needs to know immediately, not a second later. 
  3077.  
  3078.  
  3079.  Desqview
  3080.  
  3081.         If you are a Desqview-user, you may be interested in the following
  3082.     setup parameters for giving Orpheus its own window.  On the main "Change
  3083.     a program" screen, use the following parameters:
  3084.  
  3085.                     Memory size (in K): 512
  3086.                     Writes directly to screen: Y
  3087.                     Displays graphics information: Y
  3088.                     Virtualize text/graphics: N
  3089.                     Uses serial ports: N
  3090.                     Requires floppy diskette: N
  3091.  
  3092.     To set the following more specific parameters, press <F1> to open the
  3093.     advanced options screen.  Use the following parameters:
  3094.  
  3095.                     Text pages: 4
  3096.                     Graphics pages: 2
  3097.                     Uses its own colors: Y
  3098.                     Uses math coprocessor: N
  3099.                     Window position:
  3100.                         Maximum height: 25
  3101.                         Maximum width: 80
  3102.                     Runs in background: N
  3103.  
  3104.     Other options can be left at their default values.  For optimum
  3105.     performance you should set the following parameters:
  3106.  
  3107.                     Keyboard conflict: 4
  3108.                     Protection level: 0
  3109.  
  3110.         Note that if you do not EVER plan to use graphics in Orpheus, you 
  3111.     can change "Displays graphics information" to "N", and "Graphics pages" to 
  3112.     "0".  If using a monochrome monitor (NOT one with 16 shades of grey etc.), 
  3113.     you can change "Text pages" to 1.  The same settings can be used for both 
  3114.     the Orpheus Author (OH.EXE) and the Orpheus Reader (OHREAD.EXE), although 
  3115.     the Reader uses much less memory than does the authoring program. 
  3116.  
  3117.  
  3118.  
  3119.                                       52
  3120.  
  3121.  
  3122.  
  3123.  
  3124.   ---------------------------------------------------------------------------
  3125.                    APPENDIX B  -  USING ORPHEUS ON A NETWORK
  3126.   ---------------------------------------------------------------------------
  3127.  
  3128.  
  3129.  
  3130.         As of version 1.22, the Orpheus Reader is network-friendly:  users may
  3131.     access book files anywhere on the system while keeping their "personal"
  3132.     files in their own directories.  The following rules apply:
  3133.  
  3134.         1. OHREAD.HLP (the help file) must be in the same location as the
  3135.            Reader itself, OHREAD.EXE.
  3136.  
  3137.         2. All of the files in a book (including any graphics) must be
  3138.            in the same location, which can be different from the above.
  3139.  
  3140.         3. The user's personal configuration file, OHREAD.CFG, along with
  3141.            optional notepad and bookmark files (named after a given book
  3142.            but with NPD and BMK extensions) will be saved to disk in the
  3143.            user's current directory, which can be different from the two
  3144.            locations above.
  3145.  
  3146.     There is one exception to rule 2.  If you use the RUN or RUNBAT commands
  3147.     in an Action card, and if the command line includes a path, that path
  3148.     is preserved in the compiled book.  (This is not the case with graphics,
  3149.     where the path is stripped during compilation.)
  3150.  
  3151.         Here are some examples of command lines with which the Orpheus Reader
  3152.     would load a book named NETNEWS.HTX:
  3153.  
  3154.         ...with all files together, or the Reader in a pathed location:
  3155.         OHREAD NETNEWS.HTX
  3156.  
  3157.         ...with the book in a different directory on drive d:
  3158.         OHREAD D:\DIFF_DIR\NETNEWS.HTX
  3159.  
  3160.         ...with the book as above and the Reader in a non-pathed location:
  3161.         C:\STUFF\OHREAD D:\DIFF_DIR\NETNEWS.HTX
  3162.  
  3163.     Two users on a network could give the last command, for example, and
  3164.     read Netnews simultaneously.  Their personal CFG, NPD and BMK files
  3165.     would be saved in their own directories without conflict.
  3166.  
  3167.         In a future version, Orpheus may permit network users to identify
  3168.     their personal CFG, NPD and BMK files by the users' initials, and to
  3169.     store those files in a public directory.  In the meantime, if you are
  3170.     providing Orphic documentation on a network you should warn your users
  3171.     NOT to call the Reader while in a public directory, but to do so only
  3172.     while in their own directories.  This will prevent conflicts in the
  3173.     use of files like OHREAD.CFG.
  3174.  
  3175.  
  3176.  
  3177.  
  3178.  
  3179.                                       53
  3180.  
  3181.  
  3182.  
  3183.  
  3184.   ---------------------------------------------------------------------------
  3185.             APPENDIX C  -  USING THE "ORPHEUS" ENVIRONMENT VARIABLE
  3186.   ---------------------------------------------------------------------------
  3187.  
  3188.  
  3189.  
  3190.         With Version 1.30 Orpheus introduced the ability for you to give
  3191.     the program certain setup information using an environment variable.
  3192.     Currently this is limited to telling Orpheus where to look for graphic
  3193.     files (including ansi screens); we'll add other capabilities later.
  3194.     Both OH.EXE and the Orpheus Reader now check for this environment
  3195.     variable if they are unable to find a graphic or ansi file where it
  3196.     was expected.
  3197.  
  3198.         Environment variables may be set from within batch files or at the
  3199.     DOS prompt.  If you are unfamiliar with this technique, consult your
  3200.     DOS manual regarding the SET command.
  3201.  
  3202.         To tell Orpheus where to look for graphic and ansi files, use the
  3203.     ORPHEUS environment variable together with a "/G" switch.  For example,
  3204.     suppose your graphic images are all stored on drive C: in a directory
  3205.     named ART.  You would use the following line in a batch file or as
  3206.     a command given directly at the DOS prompt:
  3207.  
  3208.         SET ORPHEUS=/GC:\ART
  3209.  
  3210.     If your images were stored on drive D: in a subdirectory named PAINT\IMG,
  3211.     the line would be:
  3212.  
  3213.         SET ORPHEUS=/GD:\PAINT\IMG
  3214.  
  3215.  
  3216.         Once you have created an environment variable (which takes up a small
  3217.     amount of RAM), you can remove it from memory by giving the SET command
  3218.     with no data after the "=" sign, like so:
  3219.  
  3220.         SET ORPHEUS=
  3221.  
  3222.     This would remove the ORPHEUS environment variable from memory.
  3223.  
  3224.  
  3225.  
  3226.  
  3227.  
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.                                       54
  3240.  
  3241.  
  3242.  
  3243.  
  3244.   ---------------------------------------------------------------------------
  3245.                   APPENDIX D  -  FORMAT OF AN UNCOMPILED CARD
  3246.   ---------------------------------------------------------------------------
  3247.  
  3248.  
  3249.  
  3250.  Topics in this Appendix: Structure of a Card
  3251.                           Number Systems
  3252.                           The Filename
  3253.                           Header and Link Codes
  3254.                           The Header
  3255.                           Linkwords
  3256.  
  3257.  
  3258.         This Appendix is for the use of technically-minded users who are
  3259.     comfortable with control codes and number systems, and who possess the
  3260.     software utilities to let them view and optionally edit the contents of
  3261.     partially-binary files.  The information below can be used to repair a
  3262.     card that has been damaged through user-error, a bug, or other misfortune.
  3263.  
  3264.         The only way to see the "real" contents of an uncompiled card is to
  3265.     use a file-viewer that is capable of hexadecimal display.  A good example
  3266.     is Vern Buerg's LIST.COM:  load a card in LIST and then press Alt-H to
  3267.     switch to hex mode.  This shows you every single byte in the file.
  3268.  
  3269.         Most word processors are *not* capable of editing Orpheus files, but
  3270.     many text editors are.  Note that cards made after version 1.23 may
  3271.     appear to be on a single line.  I have successfully edited damaged cards
  3272.     using PC-Write and Multi-Edit.  The first time you attempt any such
  3273.     procedure, you should of course save a copy of the card in case you make
  3274.     a mistake and don't know how to recover.
  3275.  
  3276.  
  3277.  Structure of a Card
  3278.  
  3279.         Uncompiled cards consist of three parts:  a filename, a header, and
  3280.     the text.  The filename bears a card's link-number and is thus crucial.
  3281.     The header tells what kind of file and what kind of card it is, plus other
  3282.     information such as the link-number of its parent card. The text may
  3283.     include embedded codes for linking.  Note that line-endings are
  3284.     represented with a single linefeed character, ascii 10 (0Ah), rather than
  3285.     the traditional CR/LF pair (ascii 13/10 or 0Dh/0Ah).
  3286.  
  3287.  
  3288.  Number Systems
  3289.  
  3290.         I use 5 number systems in working with Orpheus:  base-2, base-10,
  3291.     base-16, base-36, and base-200.  For most of this Appendix you only
  3292.     need two:  the familiar decimal (base-10), and hexadecimal (base-16).
  3293.     Decimal counting is useful when you need to insert a control-code or other
  3294.     non-alphabetical character; if you know the character's ascii value you
  3295.     just hold down the Alt key, type the numbers in decimal using
  3296.  
  3297.  
  3298.  
  3299.                                       55
  3300.  
  3301.  
  3302.  
  3303.  
  3304.     the Number Keypad, then release the Alt key.  For other purposes it is
  3305.     more useful to use hex, particularly since you can only see the real
  3306.     contents of a file using hex display.  Whenever I give hexadecimal values
  3307.     I will do so like this:  "0Ah".  Hex digits are 0123456789ABCDEF, so
  3308.     0Ah means 10 decimal, 0Fh means 15 decimal, and 10h means 16 decimal.
  3309.  
  3310.         Orpheus uses two special number systems for identifying link-numbers.
  3311.     To allow a document to contain up to 32000 cards, we require a method of
  3312.     representing such numbers in as few digits as possible.  With base-10
  3313.     notation you need 5 digits, with the maximum value being 99999.  With
  3314.     base-36 notation you need 3 digits, with the maximum value being 46655.
  3315.     With base-200 notation you need just 2 digits, with the maximum value
  3316.     being 39999.  Obviously the last two are more efficient.  Accordingly,
  3317.     we use base-36 notation in filenames, placing the link number in the
  3318.     three characters of the file extension.  But inside cards we use base-200
  3319.     notation to represent link numbers in only 2 characters.  If there is
  3320.     ever a need to expand capacity to, say, a few million cards, this could be
  3321.     accomplished with a relatively minor change to the system.
  3322.  
  3323.         You should not EVER need to convert link numbers from one notation to
  3324.     another, but I'm going to explain them anyway.  Base-36 notation uses the
  3325.     10 numeric characters from 0 to 9, followed by the 25 alphabetic 
  3326.     characters from A to Z.  Reserving link number 0 for the Homecard, a file 
  3327.     extension of .000 represents link number 1, .00Z represents number 36, 
  3328.     .010 represents number 37, .01Z represents number 72, and .020 represents 
  3329.     number 73.  Base-36 notation is ONLY used in filenames.  (To find the 
  3330.     decimal version of a card's number, just open the File Menu:  it's there 
  3331.     beside the "Save As" command.) 
  3332.  
  3333.         Base-200 notation uses the sequence of 200 ascii values starting from
  3334.     the "!" character, which has a value of 33 (21h), and extending to the
  3335.     character with a value of 232 (E8h).  The sequence !"#$ is equivalent to
  3336.     0123 (in terms of their ascii values minus 33), and therefore we can 
  3337.     interpret our 2-character link codes as follows:  again reserving 0 for 
  3338.     the Homecard, !! represents link number 1, !" represents link number 2, !# 
  3339.     represents link number 3, "! represents link number 201, #!  represents 
  3340.     link number 401, and $# represents link number 603.  Base-200 notation is 
  3341.     ONLY used inside uncompiled cards. 
  3342.  
  3343.         You will surely agree that before fiddling with anything except the
  3344.     text in an uncompiled card, you should know what you're doing.  Link
  3345.     numbers are intended to be handled internally by Orpheus, NOT by human 
  3346.     hands; they are therefore designed for optimal speed and efficiency as
  3347.     used by the program, rather than for the convenience of hackers.
  3348.  
  3349.  
  3350.  The Filename
  3351.  
  3352.         Since the filename contains the link number of a card, it is in some
  3353.     ways the most crucial ingredient.  If you change the filename carelessly
  3354.     you can severe the tie connecting the card to the rest of your document.
  3355.     The significant part of the filename is the 3-letter extension, which as
  3356.  
  3357.  
  3358.  
  3359.                                       56
  3360.  
  3361.  
  3362.  
  3363.  
  3364.     described above represents a link number in base-36 notation.  The link 
  3365.     number also tells Orpheus where to store and retrieve a file.  Storage 
  3366.     directories contain up to 100 files each following a strict sequence: 
  3367.     \D1 holds files 1-100, \D2 holds files 101-200, and so forth.  This means 
  3368.     that if Orpheus is looking for card 156 it will ONLY look in the \D2
  3369.     directory, nowhere else.  If you do happen to rename a file manually,
  3370.     be sure to figure out what directory to put it in.
  3371.  
  3372.         The root part of the filename is relatively insignificant, with one
  3373.     exception.  When a card is orphaned (unlinked but not deleted), Orpheus
  3374.     changes the last character of the root part to a curly brace, "{".  When
  3375.     you open the Recover Orphan dialog, Orpheus looks for cards with that
  3376.     distinguishing mark in the filename.  The rest of the root part is
  3377.     designed to make it easier for you to identify cards either in the
  3378.     Recover dialog or if you should ever need to do things manually.  With
  3379.     Doors and Notes, as well as Action and Graphic cards, the root part of
  3380.     the filename is derived from the original linkword, with any characters
  3381.     that DOS does not permit in a filename being replaced by others that
  3382.     are (such as an underscore for a space).  With Inits and More links the
  3383.     words "init" and "more" are used.
  3384.  
  3385.  
  3386.  Header and Link Codes
  3387.  
  3388.         The following codes are used in the file header and as link codes
  3389.     embedded in the text.  Some are no longer in use as of version 1.30.
  3390.  
  3391.             orpheus-code        236 (ECh)
  3392.             nodetype-code        30 (1Eh)
  3393.             uncompiled-code       8 (08h)
  3394.             projectdir-code       7 (07h)
  3395.             homelink-code        25 (19h)
  3396.             childlink-code       24 (18h)
  3397.             interlink-code       18 (12h) - no longer used
  3398.             internote-code       21 (15h) - no longer used
  3399.             more-code            26 (1Ah)
  3400.             uplink-code          23 (17h)
  3401.             lock-code            76 (4Ch)
  3402.             keyname-code          1 (01h) - no longer used
  3403.             headend-code         31 (1Fh)
  3404.             door-code            22 (16h) - prior to V1.24 was 11 (0Bh)
  3405.             note-code            19 (13h)
  3406.             graphic-code          1 (01h) - prior to V1.24 was 2 (02h)
  3407.             action-code          23 (17h) - prior to V1.24 was 3 (03h)
  3408.             init-code            73 (49h)
  3409.             crosslink-code       29 (1Dh)
  3410.             downlink-code        18 (12h) - prior to V1.24 was 14 (0Eh)
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.  
  3417.  
  3418.  
  3419.                                       57
  3420.  
  3421.  
  3422.  
  3423.  
  3424.  The Header
  3425.  
  3426.         Every Orpheus file, with the sole exception of Notepad (NPD) files, 
  3427.     begins with a 3-byte pre-header consisting of orpheus-code (ECh), a 
  3428.     version code, and a filetype code.  The version code is for internal use 
  3429.     and is NOT identical to the Version number given on your disk labels or in 
  3430.     the About or Version windows.  The very first version code used was 16 
  3431.     (10h), seen only in Version 1.0 (August 1992).  Subsequently numbering 
  3432.     went back to 2, and as of Version 1.50 (March 1993) was up to 5.  This 
  3433.     number changes whenever new features are implemented that are incompatible 
  3434.     with old versions -- particularly old versions of the Orpheus Reader.  
  3435.     OH.EXE also uses the number to detect cards that use old codes or CR/LF 
  3436.     pairs instead of a single linefeed.  OH.EXE maintains backward 
  3437.     comptability with uncompiled cards created with earlier releases.  The 
  3438.     Orpheus Reader does NOT maintain backward compatibility with compiled 
  3439.     books created with earlier releases. 
  3440.  
  3441.         To continue, the header of an uncompiled card consists of the
  3442.     following:
  3443.  
  3444.             236 (ECh) - orpheus-code
  3445.               -       - a 1-byte version code
  3446.               8 (08h) - uncompiled-code
  3447.               -       - a 1-byte counter giving the total length of the header
  3448.               -       -
  3449.               -       - a data sandwich consisting of codes, data, and spaces
  3450.               -       -
  3451.              31 (1Fh) - headend-code to back up the length counter
  3452.  
  3453.         In no particular order, the data sandwich has the following layers:
  3454.  
  3455.         *   30 (1Eh) - nodetype-code, with:
  3456.              -       - a 1-byte code for what type of card it is, such as
  3457.                        homelink-code, childlink-code, etc.
  3458.             32 (20h) - a space
  3459.  
  3460.         *   26 (1Ah) - more-code (ONLY IF the card has a More link), with:
  3461.              -       - 2 bytes for the linked card's number in base-200
  3462.              -
  3463.             32 (20h) - space
  3464.  
  3465.         *   73 (49h) - init-code (ONLY IF the card has an Init link), with:
  3466.              -       - 2 bytes for the linked card's number in base-200
  3467.              -
  3468.             32 (20)  - space
  3469.  
  3470.         *   23 (17h) - uplink-code (ONLY IF it isn't the Homecard), with:
  3471.              -       - 2 bytes for the parent card's number in base-200,
  3472.              -         OR homelink-code twice if the parent is the Homecard
  3473.             32 (20h) - space
  3474.  
  3475.  
  3476.  
  3477.  
  3478.  
  3479.                                       58
  3480.  
  3481.  
  3482.  
  3483.  
  3484.         *    7 (07h) - projectdir-code (ONLY IF this is the Homecard, with:
  3485.              -       - an indeterminate number of bytes giving the name
  3486.              -         of the project directory for this document
  3487.             32 (20h) - space
  3488.  
  3489.         *   76 (4Ch) - lock-code (ONLY IF this card is "locked" to prevent
  3490.                         accidental autoreformat)
  3491.             32 (20h) - space
  3492.  
  3493.         *    1 (01h) - keyname-code (ONLY in versions prior to 1.30), with:
  3494.              -       - a phrase for use with the map (no longer used)
  3495.              1 (01h) - another keyname-code to flag the end
  3496.             32 (20h) - space
  3497.  
  3498.  
  3499.  Linkwords
  3500.  
  3501.         Linkwords are preceded by a 1-byte code that signifies both the
  3502.     beginning of a linkword and the link type.  This code can be:
  3503.     door-code, note-code, crosslink-code, graphic-code, or action-code.
  3504.     The end of a linkword is indicated by downlink-code, which is then
  3505.     followed by 2 bytes giving the number of the linked card in base-200 
  3506.     notation, with ascii 33 representing 1.  A linkword and all of its codes 
  3507.     must be on a single line. 
  3508.  
  3509.  
  3510.  
  3511.  
  3512.  
  3513.  
  3514.  
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535.  
  3536.  
  3537.  
  3538.  
  3539.                                       59
  3540.  
  3541.